]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
mx7_common: Put early/late init configs into board file
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 29 Feb 2016 12:33:21 +0000 (09:33 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 18 Mar 2016 17:33:58 +0000 (14:33 -0300)
CONFIG_BOARD_EARLY_INIT_F and CONFIG_BOARD_LATE_INIT should not be
placed into mx7_common because not all boards need these options.

Move them to the board file instead.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
include/configs/mx7_common.h
include/configs/mx7dsabresd.h

index bfad696bcdfe4e5c23b597c7fa631efc8ef16cc0..ddaadbe0dd16262c88cea5f885cd41abc7b23fc8 100644 (file)
@@ -31,9 +31,6 @@
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN           (32 * SZ_1M)
 
-#define CONFIG_BOARD_EARLY_INIT_F
-#define CONFIG_BOARD_LATE_INIT
-
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
index b8b5b456b8baafcf1839e3ed2b8191098aa0e8df..988d363c41bd9b9df163ad2e5dbdb4eb49381703 100644 (file)
@@ -16,6 +16,9 @@
 
 #define CONFIG_MXC_UART_BASE            UART1_IPS_BASE_ADDR
 
+#define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT
+
 /* Uncomment to enable secure boot support */
 /* #define CONFIG_SECURE_BOOT */
 #define CONFIG_CSF_SIZE                        0x4000