Przeglądaj źródła

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>
Fabio Estevam 9 lat temu
rodzic
commit
5d69269dee
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 0 1
      include/configs/mx7_common.h
  2. 2 0
      include/configs/mx7dsabresd.h

+ 0 - 1
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

+ 2 - 0
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