diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-22 15:09:49 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-22 15:09:49 +0000 |
commit | 46597c953963eb8333e5122896fdcb4d0ec9f93f (patch) | |
tree | 434605a340de75938beb7cb996f57c333649f88e /bootloader/tpj1022.c | |
parent | 9744433752b59a5da45c8076c4be6d2980d8cbbb (diff) | |
download | rockbox-46597c953963eb8333e5122896fdcb4d0ec9f93f.tar.gz rockbox-46597c953963eb8333e5122896fdcb4d0ec9f93f.zip |
FS#6554 - Move bootloader code into a common file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12453 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/tpj1022.c')
-rw-r--r-- | bootloader/tpj1022.c | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/bootloader/tpj1022.c b/bootloader/tpj1022.c index 0088f73690..5d70adf5fe 100644 --- a/bootloader/tpj1022.c +++ b/bootloader/tpj1022.c @@ -37,11 +37,10 @@ #include "panic.h" #include "power.h" #include "file.h" +#include "common.h" char version[] = APPSVERSION; -int line=0; - void* main(void) { int i; @@ -54,8 +53,7 @@ void* main(void) lcd_init(); font_init(); - lcd_puts(0, line++ ,"Hello World!"); - lcd_update(); + printf("Hello World!"); #endif i=ata_init(); @@ -108,20 +106,6 @@ void* main(void) /* These functions are present in the firmware library, but we reimplement them here because the originals do a lot more than we want */ - -void reset_poweroff_timer(void) -{ -} - -int dbg_ports(void) -{ - return 0; -} - -void mpeg_stop(void) -{ -} - void usb_acknowledge(void) { } @@ -129,7 +113,3 @@ void usb_acknowledge(void) void usb_wait_for_disconnect(void) { } - -void sys_poweroff(void) -{ -} |