summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-01-13 06:44:45 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-01-13 06:44:45 +0000
commit7478cfcbf70c0d1378fe492a5eacf08d59d403b2 (patch)
treed342bf6e3e90e22eb0f691404feb4633ff03cc68 /firmware
parentd668900848a00cebaf5b5210387928f8d2246e99 (diff)
downloadrockbox-7478cfcbf70c0d1378fe492a5eacf08d59d403b2.tar.gz
rockbox-7478cfcbf70c0d1378fe492a5eacf08d59d403b2.tar.bz2
rockbox-7478cfcbf70c0d1378fe492a5eacf08d59d403b2.zip
Sansa as3525v2: move SD embryo code to a common dir
Select it based on as3535/as3525v2 so Clip+/Fuzev2 will be able to use it too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24222 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/SOURCES6
-rw-r--r--firmware/target/arm/as3525/ata_sd-as3535v2.c (renamed from firmware/target/arm/as3525/sansa-clipv2/sd-clipv2.c)0
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 064c8fe650..90b20f3747 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -407,8 +407,10 @@ target/arm/pnx0101/timer-pnx0101.c
target/arm/as3525/system-as3525.c
target/arm/as3525/kernel-as3525.c
target/arm/as3525/timer-as3525.c
-#ifndef SANSA_CLIPV2
+#if CONFIG_CPU == AS3525
target/arm/as3525/ata_sd_as3525.c
+#else /* AS3535v2 */
+target/arm/as3525/ata_sd-as3525v2.c
#endif
target/arm/as3525/power-as3525.c
target/arm/as3525/usb-as3525.c
@@ -1205,8 +1207,6 @@ target/arm/tcc77x/c100/audio-c100.c
#ifndef SIMULATOR
target/arm/as3525/sansa-clip/lcd-ssd1303.c
target/arm/as3525/sansa-clip/lcd-as-clip.S
-
-target/arm/as3525/sansa-clipv2/sd-clipv2.c
target/arm/as3525/sansa-clipv2/button-clip.c
target/arm/as3525/sansa-clipv2/backlight-clip.c
#ifndef BOOTLOADER
diff --git a/firmware/target/arm/as3525/sansa-clipv2/sd-clipv2.c b/firmware/target/arm/as3525/ata_sd-as3535v2.c
index 70c0477431..70c0477431 100644
--- a/firmware/target/arm/as3525/sansa-clipv2/sd-clipv2.c
+++ b/firmware/target/arm/as3525/ata_sd-as3535v2.c