From 227c59a856fd2d3cd2f571baf5fdf53103b55a3a Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 29 Feb 2016 09:33:21 -0300 Subject: [PATCH] mx7_common: Put early/late init configs into board file 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 Reviewed-by: Peng Fan --- include/configs/mx7_common.h | 3 --- include/configs/mx7dsabresd.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index dcc53f0f53..5034464ce8 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -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 diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h index b8b5b456b8..988d363c41 100644 --- a/include/configs/mx7dsabresd.h +++ b/include/configs/mx7dsabresd.h @@ -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 -- 2.39.5