summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-07-16 00:57:02 +0000
committerDave Chapman <dave@dchapman.com>2009-07-16 00:57:02 +0000
commit0270e4c59133c910902c6825a224476965a02134 (patch)
tree640a4d45e8ba8f150a4962bbba71cecc87c394b3 /bootloader
parentc30d509f34c80fa59cd3120cda4f4383cbcde485 (diff)
downloadrockbox-0270e4c59133c910902c6825a224476965a02134.tar.gz
rockbox-0270e4c59133c910902c6825a224476965a02134.tar.bz2
rockbox-0270e4c59133c910902c6825a224476965a02134.zip
Get the Nano2G bootloader running - it now runs and displays a logo on one type of Nano2G LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21900 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/SOURCES1
-rw-r--r--bootloader/ipodnano2g.c9
2 files changed, 9 insertions, 1 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES
index 459a1a27bf..d36479c4ee 100644
--- a/bootloader/SOURCES
+++ b/bootloader/SOURCES
@@ -54,4 +54,5 @@ lyre_proto1.c
show_logo.c
#elif defined(IPOD_NANO2G)
ipodnano2g.c
+show_logo.c
#endif
diff --git a/bootloader/ipodnano2g.c b/bootloader/ipodnano2g.c
index 637d405f01..e8e8e2e1a4 100644
--- a/bootloader/ipodnano2g.c
+++ b/bootloader/ipodnano2g.c
@@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2009 by ???? [to be completed by first author]
+ * Copyright (C) 2009 by Dave Chapman
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -46,8 +46,15 @@
char version[] = APPSVERSION;
+/* Show the Rockbox logo - in show_logo.c */
+extern int show_logo(void);
+
void main(void)
{
+ lcd_init();
+
+ show_logo();
+
/* Do nothing... */
while(1);
}