summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-10-22 16:47:42 +0800
committerHans de Goede <hdegoede@redhat.com>2014-10-24 09:35:38 +0200
commitff2b47f6a9cc10251cc601d34241ee02933c2187 (patch)
tree6c83971be1f3b57203d23e1bbaa3a76c1fa08aae /include
parent7f87ad354ba79132edca3a08d1200e1acba1f612 (diff)
downloadblackbird-obmc-uboot-ff2b47f6a9cc10251cc601d34241ee02933c2187.tar.gz
blackbird-obmc-uboot-ff2b47f6a9cc10251cc601d34241ee02933c2187.zip
ARM: sunxi: Add support for uart0 on port F (mmc0)
Allwinner SoCs provide uart0 muxed with mmc0, which can then be used with a micro SD breakout board. On the A23, this is the only way to use uart0. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sunxi-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index d55e4cab06..dfcb9a8e5e 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -77,6 +77,7 @@
#define CONFIG_INITRD_TAG
/* mmc config */
+#if !defined(CONFIG_UART0_PORT_F)
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_CMD_MMC
@@ -84,6 +85,7 @@
#define CONFIG_MMC_SUNXI_SLOT 0
#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 0 /* first detected MMC controller */
+#endif
/* 4MB of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (4 << 20))
OpenPOWER on IntegriCloud