From e1b483848120507a909e95417e938324ed377bd5 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Wed, 29 Oct 2008 20:21:59 +0000 Subject: 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 --- bootloader/sansa_as3525.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bootloader/sansa_as3525.c') 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 */ -- cgit v1.2.3