Browse Source

mx7_common: Put display board info config into board file

CONFIG_DISPLAY_BOARDINFO should not be placed in mx7_common
because some boards might need a different config such as
CONFIG_DISPLAY_BOARDINFO_LATE. Move it to the board file
instead.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Stefan Agner 8 years ago
parent
commit
47855a5c3b
3 changed files with 4 additions and 1 deletions
  1. 0 1
      include/configs/mx7_common.h
  2. 2 0
      include/configs/mx7dsabresd.h
  3. 2 0
      include/configs/warp7.h

+ 0 - 1
include/configs/mx7_common.h

@@ -31,7 +31,6 @@
 #define CONFIG_ARCH_MISC_INIT
 #define CONFIG_ARCH_MISC_INIT
 
 
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_DISPLAY_BOARDINFO
 
 
 #define CONFIG_LOADADDR                 0x80800000
 #define CONFIG_LOADADDR                 0x80800000
 #define CONFIG_SYS_TEXT_BASE            0x87800000
 #define CONFIG_SYS_TEXT_BASE            0x87800000

+ 2 - 0
include/configs/mx7dsabresd.h

@@ -22,6 +22,8 @@
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_LATE_INIT
 #define CONFIG_BOARD_LATE_INIT
 
 
+#define CONFIG_DISPLAY_BOARDINFO
+
 /* Uncomment to enable secure boot support */
 /* Uncomment to enable secure boot support */
 /* #define CONFIG_SECURE_BOOT */
 /* #define CONFIG_SECURE_BOOT */
 #define CONFIG_CSF_SIZE			0x4000
 #define CONFIG_CSF_SIZE			0x4000

+ 2 - 0
include/configs/warp7.h

@@ -21,6 +21,8 @@
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_LATE_INIT
 #define CONFIG_BOARD_LATE_INIT
 
 
+#define CONFIG_DISPLAY_BOARDINFO
+
 /* MMC Config*/
 /* MMC Config*/
 #define CONFIG_SYS_FSL_ESDHC_ADDR       USDHC3_BASE_ADDR
 #define CONFIG_SYS_FSL_ESDHC_ADDR       USDHC3_BASE_ADDR
 #define CONFIG_SUPPORT_EMMC_BOOT
 #define CONFIG_SUPPORT_EMMC_BOOT