summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-10-03 16:44:57 +0200
committerHans de Goede <hdegoede@redhat.com>2014-10-24 09:35:38 +0200
commitbbff84b3b0092d00db1b0b77ef9043b46991d791 (patch)
tree44c991c8d262e36d05321be0d8f0da6de6716d4f /arch/arm
parente79c7c881047ca99191cc79b6d83ec64b898cd9b (diff)
downloadu-boot-imx-bbff84b3b0092d00db1b0b77ef9043b46991d791.zip
u-boot-imx-bbff84b3b0092d00db1b0b77ef9043b46991d791.tar.gz
u-boot-imx-bbff84b3b0092d00db1b0b77ef9043b46991d791.tar.bz2
sunxi: Use PG3 - PG8 as io-pins for mmc1
None of the known sunxi devices actually use mmc1 routed through PH, where as some devices do actually use mmc1 routed through PG, so change the routing of mmc1 to PG. If in the future we encounter devices with mmc1 routed through PH, we will need to change things to be a bit more flexible. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/arch-sunxi/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h
index ba7e69b..59122db 100644
--- a/arch/arm/include/asm/arch-sunxi/gpio.h
+++ b/arch/arm/include/asm/arch-sunxi/gpio.h
@@ -117,6 +117,8 @@ enum sunxi_gpio_number {
#define SUN5I_GPB19_UART0_TX 2
#define SUN5I_GPB20_UART0_RX 2
+#define SUN5I_GPG3_SDC1 2
+
#define SUN5I_GPG3_UART1_TX 4
#define SUN5I_GPG4_UART1_RX 4