diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2009-10-26 18:16:58 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2009-10-26 18:16:58 +0000 |
commit | 90b576f55ea6854a70c8ed77095b42e57b744723 (patch) | |
tree | 33b5a4d1b76b435ef6ec5138e7160d9d32c955c1 /bootloader/mini2440.c | |
parent | 6d20102a9c468135770f820a896dad3518c2093f (diff) | |
download | rockbox-90b576f55ea6854a70c8ed77095b42e57b744723.tar.gz rockbox-90b576f55ea6854a70c8ed77095b42e57b744723.zip |
Many more drivers for mini2440. Now the main binary compiles and runs.
Flyspray: FS#10725
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/mini2440.c')
-rw-r--r-- | bootloader/mini2440.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/bootloader/mini2440.c b/bootloader/mini2440.c index dd811600f3..09698ed833 100644 --- a/bootloader/mini2440.c +++ b/bootloader/mini2440.c | |||
@@ -47,13 +47,9 @@ | |||
47 | #include "uart-s3c2440.h" | 47 | #include "uart-s3c2440.h" |
48 | #include "led-mini2440.h" | 48 | #include "led-mini2440.h" |
49 | 49 | ||
50 | /* Show the Rockbox logo - in show_logo.c */ | ||
51 | extern int show_logo(void); | ||
52 | |||
53 | 50 | ||
54 | int main(void) | 51 | int main(void) |
55 | { | 52 | { |
56 | /* required later */ | ||
57 | unsigned char* loadbuffer; | 53 | unsigned char* loadbuffer; |
58 | int buffer_size; | 54 | int buffer_size; |
59 | int rc; | 55 | int rc; |
@@ -70,12 +66,12 @@ int main(void) | |||
70 | lcd_setfont(FONT_SYSFIXED); | 66 | lcd_setfont(FONT_SYSFIXED); |
71 | button_init(); | 67 | button_init(); |
72 | dma_init(); | 68 | dma_init(); |
73 | uart_init_device(UART_DEBUG); | 69 | |
70 | uart_init(); | ||
71 | uart_init_device(DEBUG_UART_PORT); | ||
74 | 72 | ||
75 | /* mini2440_test(); */ | 73 | /* mini2440_test(); */ |
76 | 74 | ||
77 | /* TODO */ | ||
78 | |||
79 | /* Show debug messages if button is pressed */ | 75 | /* Show debug messages if button is pressed */ |
80 | if(button_read_device() & BUTTON_MENU) | 76 | if(button_read_device() & BUTTON_MENU) |
81 | verbose = true; | 77 | verbose = true; |