summaryrefslogtreecommitdiff
path: root/include/configs/mxs.h
diff options
context:
space:
mode:
authorAndreas Wass <Andreas.Wass@dalelven.com>2013-08-16 18:24:37 +0200
committerStefano Babic <sbabic@denx.de>2013-08-21 19:20:28 +0200
commit0cfb8afed3939e2db4e028a86ea4803f7475941f (patch)
tree79bdae4e40943fa087f6ef70d64dabc6d817ec5f /include/configs/mxs.h
parent661edaafd44c6a7001a95d3a93a7dc03acc18a39 (diff)
downloadu-boot-imx-0cfb8afed3939e2db4e028a86ea4803f7475941f.zip
u-boot-imx-0cfb8afed3939e2db4e028a86ea4803f7475941f.tar.gz
u-boot-imx-0cfb8afed3939e2db4e028a86ea4803f7475941f.tar.bz2
ARM: mxs: Add mx28evk_auart_console target
The target uses AUART 3 instead of the DUART for console output. Signed-off-by: Andreas Wass <andreas.wass@dalelven.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/configs/mxs.h')
-rw-r--r--include/configs/mxs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/mxs.h b/include/configs/mxs.h
index a684166..124dc1e 100644
--- a/include/configs/mxs.h
+++ b/include/configs/mxs.h
@@ -119,11 +119,16 @@
/* GPIO */
#define CONFIG_MXS_GPIO
-/* DUART Serial Driver */
+/*
+ * DUART Serial Driver.
+ * Conflicts with AUART driver which can be set by board.
+ */
+#ifndef CONFIG_MXS_AUART
#define CONFIG_PL011_SERIAL
#define CONFIG_PL011_CLOCK 24000000
#define CONFIG_PL01x_PORTS { (void *)MXS_UARTDBG_BASE }
#define CONFIG_CONS_INDEX 0
+#endif
/* Default baudrate can be overriden by board! */
#ifndef CONFIG_BAUDRATE
#define CONFIG_BAUDRATE 115200