summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2009-10-26 18:16:58 +0000
committerDominik Wenger <domonoky@googlemail.com>2009-10-26 18:16:58 +0000
commit90b576f55ea6854a70c8ed77095b42e57b744723 (patch)
tree33b5a4d1b76b435ef6ec5138e7160d9d32c955c1 /bootloader
parent6d20102a9c468135770f820a896dad3518c2093f (diff)
downloadrockbox-90b576f55ea6854a70c8ed77095b42e57b744723.tar.gz
rockbox-90b576f55ea6854a70c8ed77095b42e57b744723.tar.bz2
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')
-rw-r--r--bootloader/mini2440.c10
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 @@
#include "uart-s3c2440.h"
#include "led-mini2440.h"
-/* Show the Rockbox logo - in show_logo.c */
-extern int show_logo(void);
-
int main(void)
{
- /* required later */
unsigned char* loadbuffer;
int buffer_size;
int rc;
@@ -70,12 +66,12 @@ int main(void)
lcd_setfont(FONT_SYSFIXED);
button_init();
dma_init();
- uart_init_device(UART_DEBUG);
+
+ uart_init();
+ uart_init_device(DEBUG_UART_PORT);
/* mini2440_test(); */
- /* TODO */
-
/* Show debug messages if button is pressed */
if(button_read_device() & BUTTON_MENU)
verbose = true;