summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-02-07 10:09:13 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-02-07 10:09:13 +0000
commit4d3a020f274d49c2b8f10cfdad8c67aaa153bebe (patch)
treeec04c17d0579a27f6e1f8b2085d5996e6e59f430 /bootloader
parentf747d9d39e48c8bbf938220427584c4d8bf41b4c (diff)
downloadrockbox-4d3a020f274d49c2b8f10cfdad8c67aaa153bebe.tar.gz
rockbox-4d3a020f274d49c2b8f10cfdad8c67aaa153bebe.tar.bz2
rockbox-4d3a020f274d49c2b8f10cfdad8c67aaa153bebe.zip
Gigabeat S: Move the LCD framebuffer address so that DRAM can be mapped flat between physical and virtual addresses. NO BOOTLOADER UPDATE SHOULD BE NEEDED. The firmware image now handles low-level system setup as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19935 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/gigabeat-s.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/bootloader/gigabeat-s.c b/bootloader/gigabeat-s.c
index 57eb18ec56..cd3b1df545 100644
--- a/bootloader/gigabeat-s.c
+++ b/bootloader/gigabeat-s.c
@@ -334,14 +334,17 @@ void main(void)
/* Flush and invalidate all caches (because vectors were written) */
invalidate_icache();
- lcd_clear_display();
- printf("Gigabeat S Rockbox Bootloader");
- printf("Version %s", version);
system_init();
kernel_init();
enable_interrupt(IRQ_FIQ_STATUS);
+ lcd_init_device();
+ lcd_clear_display();
+
+ printf("Gigabeat S Rockbox Bootloader");
+ printf("Version %s", version);
+
/* Initialize KPP so we can poll the button states */
button_init_device();