summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-03-30 12:20:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-03-30 12:20:47 +0000
commit8983fcb5f2687b22b2cba68573f839ff2800e3c9 (patch)
treecabc0667fa7293148bb0aabf5af235c7135c8526 /bootloader
parentddc554f62bb99a00b534e5f18aa0f1165df0622f (diff)
downloadrockbox-8983fcb5f2687b22b2cba68573f839ff2800e3c9.tar.gz
rockbox-8983fcb5f2687b22b2cba68573f839ff2800e3c9.tar.bz2
rockbox-8983fcb5f2687b22b2cba68573f839ff2800e3c9.zip
Initial commit for the "Lyre prototype 1" port by Jorge Pinto from FS#10045.
Bootloader builds, normal does not. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20574 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/SOURCES3
-rw-r--r--bootloader/lyre_proto1.c36
2 files changed, 39 insertions, 0 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES
index 693644df5e..d86a815840 100644
--- a/bootloader/SOURCES
+++ b/bootloader/SOURCES
@@ -47,4 +47,7 @@ creativezvm.c
#elif CONFIG_CPU==AS3525
sansa_as3525.c
show_logo.c
+#elif defined(LYRE_PROTO1)
+lyre_proto1.c
+show_logo.c
#endif
diff --git a/bootloader/lyre_proto1.c b/bootloader/lyre_proto1.c
new file mode 100644
index 0000000000..b40143b988
--- /dev/null
+++ b/bootloader/lyre_proto1.c
@@ -0,0 +1,36 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ *
+ *
+ * Copyright (C) 2009 by Jorge Pinto
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+/* Include Standard files */
+#include "kernel.h"
+#include "system.h"
+
+/* Show the Rockbox logo - in show_logo.c */
+extern int show_logo(void);
+
+int main(void)
+{
+ /* Initialize Rockbox kernel */
+ kernel_init();
+
+ /* Never returns */
+ while(1) ;
+}