summaryrefslogtreecommitdiff
path: root/bootloader/tpj1022.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2007-02-22 15:09:49 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2007-02-22 15:09:49 +0000
commit46597c953963eb8333e5122896fdcb4d0ec9f93f (patch)
tree434605a340de75938beb7cb996f57c333649f88e /bootloader/tpj1022.c
parent9744433752b59a5da45c8076c4be6d2980d8cbbb (diff)
downloadrockbox-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.c24
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 @@
37#include "panic.h" 37#include "panic.h"
38#include "power.h" 38#include "power.h"
39#include "file.h" 39#include "file.h"
40#include "common.h"
40 41
41char version[] = APPSVERSION; 42char version[] = APPSVERSION;
42 43
43int line=0;
44
45void* main(void) 44void* main(void)
46{ 45{
47 int i; 46 int i;
@@ -54,8 +53,7 @@ void* main(void)
54 lcd_init(); 53 lcd_init();
55 font_init(); 54 font_init();
56 55
57 lcd_puts(0, line++ ,"Hello World!"); 56 printf("Hello World!");
58 lcd_update();
59#endif 57#endif
60 58
61 i=ata_init(); 59 i=ata_init();
@@ -108,20 +106,6 @@ void* main(void)
108 106
109/* These functions are present in the firmware library, but we reimplement 107/* These functions are present in the firmware library, but we reimplement
110 them here because the originals do a lot more than we want */ 108 them here because the originals do a lot more than we want */
111
112void reset_poweroff_timer(void)
113{
114}
115
116int dbg_ports(void)
117{
118 return 0;
119}
120
121void mpeg_stop(void)
122{
123}
124
125void usb_acknowledge(void) 109void usb_acknowledge(void)
126{ 110{
127} 111}
@@ -129,7 +113,3 @@ void usb_acknowledge(void)
129void usb_wait_for_disconnect(void) 113void usb_wait_for_disconnect(void)
130{ 114{
131} 115}
132
133void sys_poweroff(void)
134{
135}