summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorTobias Diedrich <ranma+coreboot@tdiedrich.de>2010-03-23 11:22:21 +0000
committerTobias Diedrich <ranma+coreboot@tdiedrich.de>2010-03-23 11:22:21 +0000
commit06653d982ad1382c0f035a69a2be83700f4a69d4 (patch)
treec919a2600b2f6b1a5ed9aada5d0d76632421fb67 /firmware
parentc4e4ffb5418afce2602a2310747676647ee04ddf (diff)
downloadrockbox-06653d982ad1382c0f035a69a2be83700f4a69d4.tar.gz
rockbox-06653d982ad1382c0f035a69a2be83700f4a69d4.tar.bz2
rockbox-06653d982ad1382c0f035a69a2be83700f4a69d4.zip
Make this properly dependend on the right defines instead of a blacklist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25306 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/usb-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/usb-as3525.c b/firmware/target/arm/as3525/usb-as3525.c
index 4eb533e13c..37433612ed 100644
--- a/firmware/target/arm/as3525/usb-as3525.c
+++ b/firmware/target/arm/as3525/usb-as3525.c
@@ -29,7 +29,7 @@
#include "power.h"
#include "as3525.h"
-#if defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS) || defined(SANSA_FUZEV2)
+#if CONFIG_CPU != AS3525 && !defined(USB_DETECT_PIN)
#warning USB_DETECT_PIN not defined for your target
#endif