summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx767
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-11-26 17:22:32 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-11-26 17:22:32 +0000
commit5afb4a97c205914494e3957f2c57bb322db29d1c (patch)
tree101a27f4061c664a2d4bf2be479c33f3670fa5e8 /firmware/target/mips/ingenic_jz47xx/onda_vx767
parenteed49f09ce82e5f6853bd46263b2963cf577577a (diff)
downloadrockbox-5afb4a97c205914494e3957f2c57bb322db29d1c.tar.gz
rockbox-5afb4a97c205914494e3957f2c57bb322db29d1c.tar.bz2
rockbox-5afb4a97c205914494e3957f2c57bb322db29d1c.zip
Fix Onda VX767
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23761 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx767')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx767/ata-sd-target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx767/ata-sd-target.h b/firmware/target/mips/ingenic_jz47xx/onda_vx767/ata-sd-target.h
index 5cc9e4b203..aa7d29e4c5 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx767/ata-sd-target.h
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx767/ata-sd-target.h
@@ -33,8 +33,9 @@ int _sd_init(void);
#define MMC_CD_PIN (29 + 1 * 32) /* Pin to check card insertion */
//#define MMC_POWER_PIN (30 + 1 * 32) /* Pin to enable/disable card power */
//#define MMC_PW_PIN (14 + 3 * 32) /* Pin to check protect card */
+#define MMC_CD_IRQ GPIO61
-static inline void mmc_init_gpio(void)
+static inline void sd_init_gpio(void)
{
__gpio_as_msc();
__gpio_as_input(MMC_CD_PIN);