summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-12-21 16:30:09 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-12-21 16:30:09 +0000
commitc88cd20ab2a675a3135fbf588225b257cd651084 (patch)
tree7f71247b2fc198da91ddfc9d270b272b0c9be287 /firmware
parent54c1c770cba3118a4f6c3a783eafcd8b5a3f62a1 (diff)
downloadrockbox-c88cd20ab2a675a3135fbf588225b257cd651084.tar.gz
rockbox-c88cd20ab2a675a3135fbf588225b257cd651084.zip
merge 19488 back from the 3.1 branch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19538 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config-clip.h6
-rw-r--r--firmware/export/config-cowond2.h2
-rw-r--r--firmware/target/arm/as3525/ata_sd_as3525.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h
index 0a6164fbb6..40630bb75a 100644
--- a/firmware/export/config-clip.h
+++ b/firmware/export/config-clip.h
@@ -34,13 +34,13 @@
34#define HAVE_BUTTON_LIGHT 34#define HAVE_BUTTON_LIGHT
35 35
36/* define this if you have access to the quickscreen */ 36/* define this if you have access to the quickscreen */
37#define HAVE_QUICKSCREEN 37//#define HAVE_QUICKSCREEN
38 38
39/* define this if you have access to the pitchscreen */ 39/* define this if you have access to the pitchscreen */
40#define HAVE_PITCHSCREEN 40//#define HAVE_PITCHSCREEN
41 41
42/* define this if you would like tagcache to build on this target */ 42/* define this if you would like tagcache to build on this target */
43#define HAVE_TAGCACHE 43//#define HAVE_TAGCACHE
44 44
45/* LCD dimensions */ 45/* LCD dimensions */
46#define LCD_WIDTH 128 46#define LCD_WIDTH 128
diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h
index edeb834ef7..9f825bb77b 100644
--- a/firmware/export/config-cowond2.h
+++ b/firmware/export/config-cowond2.h
@@ -8,7 +8,7 @@
8 8
9#define MODEL_NAME "Cowon D2" 9#define MODEL_NAME "Cowon D2"
10 10
11#if 0 11#if 1
12#define HAVE_USBSTACK 12#define HAVE_USBSTACK
13#define USE_ROCKBOX_USB 13#define USE_ROCKBOX_USB
14#define USB_VENDOR_ID 0x0e21 14#define USB_VENDOR_ID 0x0e21
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c
index f71de7fdc0..1152448f97 100644
--- a/firmware/target/arm/as3525/ata_sd_as3525.c
+++ b/firmware/target/arm/as3525/ata_sd_as3525.c
@@ -601,10 +601,10 @@ static int sd_transfer_sectors(IF_MV2(int drive,) unsigned long start,
601 601
602 if (card_info[drive].initialized <= 0) 602 if (card_info[drive].initialized <= 0)
603 { 603 {
604 sd_init_card(drive); 604 int ret = sd_init_card(drive);
605 if (!(card_info[drive].initialized)) 605 if (!(card_info[drive].initialized))
606 { 606 {
607 panicf("card not initialised"); 607 panicf("card not initialised %d",ret);
608 goto sd_transfer_error; 608 goto sd_transfer_error;
609 } 609 }
610 } 610 }