summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/rk27xx/sd-rk27xx.c
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2013-11-16 18:21:00 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2013-12-16 00:45:18 +0400
commit5b5f0755d6d7fd9e3fdfdb479caeb7fafd0a9960 (patch)
tree4b9c567df8a5aefb46ace938a034988b7fdb045d /firmware/target/arm/rk27xx/sd-rk27xx.c
parent04c59b8a15f96812081ea8730337825af679fbce (diff)
downloadrockbox-5b5f0755d6d7fd9e3fdfdb479caeb7fafd0a9960.tar.gz
rockbox-5b5f0755d6d7fd9e3fdfdb479caeb7fafd0a9960.zip
Introduce IHIFI760/960 targets.
Change-Id: Ie36e48742c0ed9aa3fd6f49aa034a11d2492327c
Diffstat (limited to 'firmware/target/arm/rk27xx/sd-rk27xx.c')
-rw-r--r--firmware/target/arm/rk27xx/sd-rk27xx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/rk27xx/sd-rk27xx.c b/firmware/target/arm/rk27xx/sd-rk27xx.c
index 9f6ba467b7..deca8a1fa7 100644
--- a/firmware/target/arm/rk27xx/sd-rk27xx.c
+++ b/firmware/target/arm/rk27xx/sd-rk27xx.c
@@ -134,6 +134,9 @@ static inline bool card_detect_target(void)
return !(GPIO_PFDR & (1<<2));
#elif defined(MA9) || defined(MA9C) || defined(MA8) || defined(MA8C)
return (GPIO_PCDR & 0x80);
+#elif defined(IHIFI760) || defined(IHIFI960)
+ /* TODO: find out pin */
+ return true;
#else
#error "Unknown target"
#endif