From 4d3a020f274d49c2b8f10cfdad8c67aaa153bebe Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 7 Feb 2009 10:09:13 +0000 Subject: 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 --- bootloader/gigabeat-s.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'bootloader') diff --git a/bootloader/gigabeat-s.c b/bootloader/gigabeat-s.c index 57eb18e..cd3b1df 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(); -- cgit v1.1