]> git.sur5r.net Git - u-boot/commitdiff
mx7dsabresd: Define serial port locally
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 22 Feb 2016 21:41:48 +0000 (18:41 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Mar 2016 11:48:45 +0000 (12:48 +0100)
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>
include/configs/mx7_common.h
include/configs/mx7dsabresd.h

index b2a875682f10a561d5fc2bb71b39969e3fb680ed..bfad696bcdfe4e5c23b597c7fa631efc8ef16cc0 100644 (file)
@@ -77,7 +77,6 @@
 
 /* UART */
 #define CONFIG_MXC_UART
-#define CONFIG_MXC_UART_BASE            UART1_IPS_BASE_ADDR
 
 /* MMC */
 #define CONFIG_MMC
index 2c981e0939fd6753555c5c7db109a860c1cc5dd3..b8b5b456b8baafcf1839e3ed2b8191098aa0e8df 100644 (file)
@@ -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