summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-02-22 18:41:48 -0300
committerStefano Babic <sbabic@denx.de>2016-03-09 12:48:45 +0100
commit5d69269deed053d2733bdd0fe537fcba663c0826 (patch)
tree979288e2d01ccf52159a669b4037ab759c6efa83 /include
parentbf393998c7644c456b339c5071c55cacf95d2141 (diff)
downloadtalos-obmc-uboot-5d69269deed053d2733bdd0fe537fcba663c0826.tar.gz
talos-obmc-uboot-5d69269deed053d2733bdd0fe537fcba663c0826.zip
mx7dsabresd: Define serial port locally
CONFIG_MXC_UART_BASE should not be defined in mx7_common.h as the console port can vary from board to board. Define CONFIG_MXC_UART_BASE locally instead. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx7_common.h1
-rw-r--r--include/configs/mx7dsabresd.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index b2a875682f..bfad696bcd 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -77,7 +77,6 @@
/* UART */
#define CONFIG_MXC_UART
-#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
/* MMC */
#define CONFIG_MMC
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index 2c981e0939..b8b5b456b8 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -14,6 +14,8 @@
#define CONFIG_DBG_MONITOR
#define PHYS_SDRAM_SIZE SZ_1G
+#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
+
/* Uncomment to enable secure boot support */
/* #define CONFIG_SECURE_BOOT */
#define CONFIG_CSF_SIZE 0x4000
OpenPOWER on IntegriCloud