config: Move CONFIG_DEFAULT_FDT_FILE to defconfigs
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 8 Oct 2016 12:30:10 +0000 (18:00 +0530)
committerStefano Babic <sbabic@denx.de>
Wed, 26 Oct 2016 14:53:16 +0000 (16:53 +0200)
- Add DEFAULT_FDT_FILE kconfig entry
- Move CONFIG_DEFAULT_FDT_FILE from include/configs to defconfigs

Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
25 files changed:
common/Kconfig
configs/dms-ba16-1g_defconfig
configs/dms-ba16_defconfig
configs/ge_b450v3_defconfig
configs/ge_b650v3_defconfig
configs/ge_b850v3_defconfig
configs/mx25pdk_defconfig
configs/mx53ard_defconfig
configs/pico-imx6ul_defconfig
configs/tqma6q_mba6_mmc_defconfig
configs/tqma6q_mba6_spi_defconfig
configs/tqma6s_mba6_mmc_defconfig
configs/tqma6s_mba6_spi_defconfig
configs/tqma6s_wru4_mmc_defconfig
configs/zc5202_defconfig
configs/zc5601_defconfig
include/configs/advantech_dms-ba16.h
include/configs/ge_bx50v3.h
include/configs/mx25pdk.h
include/configs/mx53ard.h
include/configs/pico-imx6ul.h
include/configs/tqma6_mba6.h
include/configs/tqma6_wru4.h
include/configs/zc5202.h
include/configs/zc5601.h

index 1198f2684b596bcef73260ef68ba50529cf6ce6d..6d835cae931367fc417155afcbfc1340f21313b9 100644 (file)
@@ -203,6 +203,11 @@ config IDENT_STRING
        help
          This options adds the board specific name to u-boot version.
 
+config DEFAULT_FDT_FILE
+       string "Default fdt file"
+       help
+         This option is used to set the default fdt file to boot OS.
+
 config SYS_NO_FLASH
        bool "Disable support for parallel NOR flash"
        default n
index db5adcf455d6cc3d8f0e0f091467595e92fd6bb6..8e268373cb64f7034b24982b19a3e5a43bd39cf4 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_ADVANTECH_DMS_BA16=y
+CONFIG_DEFAULT_FDT_FILE="imx6q-dms-ba16.dtb"
 CONFIG_SYS_DDR_1G=y
 CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
index e36f3dc2040d00a12d7c10b5f369299505b51f32..fec0a1c15b9dc49fd4e57e2a11874364aec127a7 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_ADVANTECH_DMS_BA16=y
+CONFIG_DEFAULT_FDT_FILE="imx6q-dms-ba16.dtb"
 CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 857716784f5cfac8e4fef22a5437f5512088c4e5..4a5322df5beac36687bb25ba8c3b12f96bf2f9fd 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_GE_B450V3=y
+CONFIG_DEFAULT_FDT_FILE="/boot/imx6q-b450v3.dtb"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
index c5f391edb5b1078a7c06e24e29d5b6a7f2923d0b..ecf444950e9e1f91d9e40d4ce9d896c2b69c3996 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_GE_B650V3=y
+CONFIG_DEFAULT_FDT_FILE="/boot/imx6q-b650v3.dtb"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
index 2c5aa05748d3ebc8297aff1466bd3fd7d9106161..004c9d0eaadcb57ebe76b1dc40501bf7dfabf573 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_GE_B850V3=y
+CONFIG_DEFAULT_FDT_FILE="/boot/imx6q-b850v3.dtb"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
index b4afb052430cb783630793b52a1a2947e19e3cc2..c3ab7c242621f7025a6de5ddec48592342fb254c 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_TARGET_MX25PDK=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx25pdk/imximage.cfg"
+CONFIG_DEFAULT_FDT_FILE="imx25-pdk.dtb"
 CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 7a62c2b9542335f92b75c4bf700e72c7138ff347..fe0f10619bae428af6d0b887b44effa56569637f 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_TARGET_MX53ARD=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx53ard/imximage_dd3.cfg"
+CONFIG_DEFAULT_FDT_FILE="imx53-ard.dtb"
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 1aaf86872b2dc07e628faabb4b1287ea631cdba2..dba67bb96bbeeb67a975b759dd060349c348bdcd 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_PICO_IMX6UL=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/technexion/pico-imx6ul/imximage.cfg"
+CONFIG_DEFAULT_FDT_FILE="imx6ul-pico-hobbit.dtb"
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index a8276061d25b8cdb459cb412aafc4fa9c62be518..ff7b8265e39788fca19cce4c4f0ba7335ca974a7 100644 (file)
@@ -4,6 +4,7 @@ CONFIG_TARGET_TQMA6=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
+CONFIG_DEFAULT_FDT_FILE="imx6q-mba6x.dtb"
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 29c7ad900ed6a8155741d11b1428b9bff3677cd4..e6f99b14a48e50015e0944ff5d20b0198d587b87 100644 (file)
@@ -5,6 +5,7 @@ CONFIG_TQMA6X_SPI_BOOT=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
+CONFIG_DEFAULT_FDT_FILE="imx6q-mba6x.dtb"
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 426b4c0a8565fc2f9933e34791422b71890884ce..33436fc96ee8a21e29b6bd0e2114a7526e56ddc7 100644 (file)
@@ -5,6 +5,7 @@ CONFIG_TQMA6S=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
+CONFIG_DEFAULT_FDT_FILE="imx6dl-mba6x.dtb"
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 63df5effdbaf6053ea6313503455348cacb5ee7a..78056380c3ed0ae8149bc40a0fbecee88ffec79a 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_TQMA6X_SPI_BOOT=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
+CONFIG_DEFAULT_FDT_FILE="imx6dl-mba6x.dtb"
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index fa3c7d8a90e99f07fe308b39fb27b396b6b10e82..0f5950d1c8409482c76122204546fbb09790c7b5 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Enter password in %d seconds to stop autoboot\n"
 CONFIG_AUTOBOOT_ENCRYPTION=y
 CONFIG_AUTOBOOT_STOP_STR_SHA256="36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068"
+CONFIG_DEFAULT_FDT_FILE="imx6s-wru4.dtb"
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
index 8d3f1dfff1781a25ec7599b9f2686b7db140bb1b..c979854d2765dfc735a5daba39cfd802dac971b4 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
+CONFIG_DEFAULT_FDT_FILE="imx6q-zc5202.dtb"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
 CONFIG_CMD_MMC=y
index a72c0e923d35c4454ff0ba7c52f2bdb5a1c50b72..a539e58409876350eea25cf6e16d2db016897972 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
+CONFIG_DEFAULT_FDT_FILE="imx6q-zc5601.dtb"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
 CONFIG_CMD_MMC=y
index 14a7c9d3d2f5dbc7553d9d4b4b549eb5f00c36be..dd628b09f17df23c6f9efc67bb1274c58b9e64db 100644 (file)
@@ -13,7 +13,6 @@
 #include <asm/imx-common/gpio.h>
 
 #define CONFIG_BOARD_NAME      "Advantech DMS-BA16"
-#define CONFIG_DEFAULT_FDT_FILE        "imx6q-dms-ba16.dtb"
 
 #define CONFIG_MXC_UART_BASE   UART4_BASE
 #define CONFIG_CONSOLE_DEV     "ttymxc3"
index 9db75f37b65443e33976bbadbafe19f0c5d07792..a801bed7c898b6eff0534d963ce274867f32db27 100644 (file)
 #define BX50V3_BOOTARGS_EXTRA
 #if defined(CONFIG_TARGET_GE_B450V3)
 #define CONFIG_BOARD_NAME      "General Electric B450v3"
-#define CONFIG_DEFAULT_FDT_FILE        "/boot/imx6q-b450v3.dtb"
 #elif defined(CONFIG_TARGET_GE_B650V3)
 #define CONFIG_BOARD_NAME      "General Electric B650v3"
-#define CONFIG_DEFAULT_FDT_FILE        "/boot/imx6q-b650v3.dtb"
 #elif defined(CONFIG_TARGET_GE_B850V3)
 #define CONFIG_BOARD_NAME      "General Electric B850v3"
-#define CONFIG_DEFAULT_FDT_FILE        "/boot/imx6q-b850v3.dtb"
 #undef BX50V3_BOOTARGS_EXTRA
 #define BX50V3_BOOTARGS_EXTRA  "video=DP-1:1024x768@60 " \
                                "video=HDMI-A-1:1024x768@60 "
 #else
 #define CONFIG_BOARD_NAME      "General Electric BA16 Generic"
-#define CONFIG_DEFAULT_FDT_FILE        "/boot/imx6q-ba16.dtb"
 #endif
 
 #define CONFIG_MXC_UART_BASE   UART3_BASE
index 64f35dd81a24d5eca6563e236d753577b2258f8a..81826eae00783e1211caf642fd7847bfc5fb3947 100644 (file)
 #define CONFIG_LOADADDR                0x81000000      /* loadaddr env var */
 #define CONFIG_SYS_LOAD_ADDR   CONFIG_LOADADDR
 
-#define CONFIG_DEFAULT_FDT_FILE                "imx25-pdk.dtb"
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
        "image=zImage\0" \
index ed6ed7159b60b5cf956d6c6607a4d10de07951f9..27e7738a7b3396e65d0a14518fe862a23e6f32bd 100644 (file)
@@ -78,8 +78,6 @@
 #define CONFIG_LOADADDR                0x72000000      /* loadaddr env var */
 #define CONFIG_SYS_TEXT_BASE    0x77800000
 
-#define CONFIG_DEFAULT_FDT_FILE                "imx53-ard.dtb"
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
        "uimage=zImage\0" \
index 686d8dadcae35fc794b97414cc49983e9b72a123..a214c4d53cd167040e9d7953ba35ffbcd0fef965 100644 (file)
@@ -58,8 +58,6 @@
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
 #define DFU_DEFAULT_POLL_TIMEOUT 300
 
-#define CONFIG_DEFAULT_FDT_FILE                "imx6ul-pico-hobbit.dtb"
-
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
index 2f52598f2eb95db43ac0582e2e18bc2565233331..ab8ab76ba863bf89cb935306b2e837dc88ad4bdf 100644 (file)
@@ -9,12 +9,6 @@
 #ifndef __CONFIG_TQMA6_MBA6_H
 #define __CONFIG_TQMA6_MBA6_H
 
-#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
-#define CONFIG_DEFAULT_FDT_FILE                "imx6dl-mba6x.dtb"
-#elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D)
-#define CONFIG_DEFAULT_FDT_FILE                "imx6q-mba6x.dtb"
-#endif
-
 #define CONFIG_DTT_SENSORS             { 0, 1 }
 
 #define CONFIG_FEC_XCV_TYPE            RGMII
index 8896bc330442e939e26047e8df1ae8f04ed4d340..faca0fd54b98157a8601dca9c32ff7011d27f752 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef __CONFIG_TQMA6_WRU4_H
 #define __CONFIG_TQMA6_WRU4_H
 
-#define CONFIG_DEFAULT_FDT_FILE                "imx6s-wru4.dtb"
-
 /* DTT sensors */
 #define CONFIG_DTT_SENSORS             { 0, 1 }
 #define CONFIG_SYS_DTT_BUS_NUM         2
index 073a42c0f20d47f986be17241943b27aeda5dacc..040c6950861de21fb5f01f552c43c015dc4abcbc 100644 (file)
@@ -13,8 +13,6 @@
 #define CONFIG_CONSOLE_DEV             "ttymxc1"
 #define CONFIG_MMCROOT                 "/dev/mmcblk0p2"
 
-#define CONFIG_DEFAULT_FDT_FILE        "imx6q-zc5202.dtb"
-
 #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
 
 #include "el6x_common.h"
index 28b9c6b4c7f01fa60323cb4b9107af5207ea0ef3..7c24a5010b0619361e0b474f3081819a83814091 100644 (file)
@@ -14,8 +14,6 @@
 #define CONFIG_CONSOLE_DEV             "ttymxc1"
 #define CONFIG_MMCROOT                 "/dev/mmcblk0p1"
 
-#define CONFIG_DEFAULT_FDT_FILE        "imx6q-zc5601.dtb"
-
 #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
 
 #include "el6x_common.h"