diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-11-26 17:22:32 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-11-26 17:22:32 +0000 |
commit | 5afb4a97c205914494e3957f2c57bb322db29d1c (patch) | |
tree | 101a27f4061c664a2d4bf2be479c33f3670fa5e8 | |
parent | eed49f09ce82e5f6853bd46263b2963cf577577a (diff) | |
download | rockbox-5afb4a97c205914494e3957f2c57bb322db29d1c.tar.gz rockbox-5afb4a97c205914494e3957f2c57bb322db29d1c.zip |
Fix Onda VX767
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23761 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/onda_vx767/ata-sd-target.h | 3 |
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); | |||
33 | #define MMC_CD_PIN (29 + 1 * 32) /* Pin to check card insertion */ | 33 | #define MMC_CD_PIN (29 + 1 * 32) /* Pin to check card insertion */ |
34 | //#define MMC_POWER_PIN (30 + 1 * 32) /* Pin to enable/disable card power */ | 34 | //#define MMC_POWER_PIN (30 + 1 * 32) /* Pin to enable/disable card power */ |
35 | //#define MMC_PW_PIN (14 + 3 * 32) /* Pin to check protect card */ | 35 | //#define MMC_PW_PIN (14 + 3 * 32) /* Pin to check protect card */ |
36 | #define MMC_CD_IRQ GPIO61 | ||
36 | 37 | ||
37 | static inline void mmc_init_gpio(void) | 38 | static inline void sd_init_gpio(void) |
38 | { | 39 | { |
39 | __gpio_as_msc(); | 40 | __gpio_as_msc(); |
40 | __gpio_as_input(MMC_CD_PIN); | 41 | __gpio_as_input(MMC_CD_PIN); |