From 733bab08869f1813a3212d97f1bde352916dfb67 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Mon, 15 Jun 2009 11:22:03 +0000 Subject: Onda VX747: clean up SD GPIO initialization git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21288 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/mips/ingenic_jz47xx/onda_vx747/ata-sd-target.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'firmware') 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 -- cgit v1.2.3