summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx747
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-15 11:22:03 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-15 11:22:03 +0000
commit733bab08869f1813a3212d97f1bde352916dfb67 (patch)
tree74de3bbf5b8dfa941b23f0009f69dafc23f0793b /firmware/target/mips/ingenic_jz47xx/onda_vx747
parent39691c9cd02f55cb09f1e919a79b855d22dc5b6c (diff)
downloadrockbox-733bab08869f1813a3212d97f1bde352916dfb67.tar.gz
rockbox-733bab08869f1813a3212d97f1bde352916dfb67.tar.bz2
rockbox-733bab08869f1813a3212d97f1bde352916dfb67.zip
Onda VX747: clean up SD GPIO initialization
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21288 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx747')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx747/ata-sd-target.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx747/ata-sd-target.h b/firmware/target/mips/ingenic_jz47xx/onda_vx747/ata-sd-target.h
index d05690000f..06cece2aac 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx747/ata-sd-target.h
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx747/ata-sd-target.h
@@ -39,19 +39,11 @@ int _sd_write_sectors(unsigned long start, int count, const void* buf);
int _sd_init(void);
#define MMC_CD_PIN (32*1 + 29) /* Pin to check card insertion */
-#define MSC_D0 (32*3 + 10)
-#define MSC_D1 (32*3 + 11)
-#define MSC_D2 (32*3 + 12)
-#define MSC_CLK (32*3 + 9 )
static inline void mmc_init_gpio(void)
{
__gpio_as_msc();
__gpio_as_input(MMC_CD_PIN);
- __gpio_enable_pull(MSC_CLK);
- __gpio_enable_pull(MSC_D0);
- __gpio_enable_pull(MSC_D1);
- __gpio_enable_pull(MSC_D2);
}
#endif