summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-10-29 20:21:59 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-10-29 20:21:59 +0000
commite1b483848120507a909e95417e938324ed377bd5 (patch)
tree3496098d3d781071cde64b165bfa77951835c186 /bootloader
parent4c457afe899b32f74cfa761b5bd078a296a75251 (diff)
downloadrockbox-e1b483848120507a909e95417e938324ed377bd5.tar.gz
rockbox-e1b483848120507a909e95417e938324ed377bd5.tar.bz2
rockbox-e1b483848120507a909e95417e938324ed377bd5.zip
Embryo of a SD driver for Sansav2
Debug code included, needed until the bootloader is ready git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/sansa_as3525.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c
index a88e206c3b..df6f789135 100644
--- a/bootloader/sansa_as3525.c
+++ b/bootloader/sansa_as3525.c
@@ -30,6 +30,7 @@
#include "backlight-target.h"
#include "as3525-codec.h"
#include "common.h"
+#include "ata.h"
int show_logo(void);
void main(void)
@@ -52,7 +53,9 @@ void main(void)
buf[i] = as3525_codec_read(0x38 + i);
}
printf("ID: %02X%02X%02X%02X%02X%02X%02X%02X", buf[7], buf[6], buf[5], buf[4], buf[3], buf[2], buf[1], buf[0]);
-
+
+ ata_init();
+
#ifdef SANSA_CLIP
/* Use hardware scrolling */