summaryrefslogtreecommitdiffstats
path: root/bootloader/tpj1022.c
diff options
context:
space:
mode:
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 @@
#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)
-{
-}