configs: migrate CONFIG_SET_DFU_ALT_INFO to defconfigs
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 26 Feb 2020 09:28:41 +0000 (10:28 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 8 May 2020 13:16:26 +0000 (09:16 -0400)
Move CONFIG_SET_DFU_ALT_INFO into Kconfig done by moveconfig.py.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
configs/odroid-xu3_defconfig
configs/odroid_defconfig
configs/stm32mp15_basic_defconfig
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_optee_defconfig
configs/stm32mp15_trusted_defconfig
drivers/dfu/Kconfig
include/configs/odroid.h
include/configs/odroid_xu3.h
include/configs/stm32mp1.h
scripts/config_whitelist.txt

index 2e982e1b533adc061d9847d4e51f54d67d6fccfb..1a2183ce1957bd70d2bb42bb5b7fbbab28ced7ef 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_ADC=y
 CONFIG_ADC_EXYNOS=y
 CONFIG_DFU_MMC=y
+CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_MMC_DW=y
 CONFIG_MTD=y
index e4392e477ed0ce32a3d91bba9f925440268fc040..345cc3b94002dd980defd2751996573efff2e3ef 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos4412-odroid"
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_DFU_MMC=y
+CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_SYS_I2C_S3C24X0=y
 CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
index 100f174a579ec2b8c900e3b27353860c76f3919a..d42153a9566a09913ebcad46208889bbcee7d47a 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DFU_MTD=y
 CONFIG_DFU_VIRT=y
+CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0xC0000000
 CONFIG_FASTBOOT_BUF_SIZE=0x02000000
index 5f3813e515cc9c86dfea38ce6111cea57ca29547..753b88463c5fdfa648f2679e77f82945732219c4 100644 (file)
@@ -67,6 +67,7 @@ CONFIG_SPL_BLOCK_CACHE=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DFU_VIRT=y
+CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_DM_HWSPINLOCK=y
 CONFIG_HWSPINLOCK_STM32=y
 CONFIG_DM_I2C=y
index 596fe190af2d7da875e90367571e6aeda34b89bd..5317504843161594ccdfb46862b5dcd98427368b 100644 (file)
@@ -59,6 +59,7 @@ CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DFU_MTD=y
 CONFIG_DFU_VIRT=y
+CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0xC0000000
 CONFIG_FASTBOOT_BUF_SIZE=0x02000000
index f9df13a6c3b635b6e67c633a135689837095d253..cff11333481a0d878283f81b3ea8d8e9d73a12d9 100644 (file)
@@ -55,6 +55,7 @@ CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DFU_MTD=y
 CONFIG_DFU_VIRT=y
+CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0xC0000000
 CONFIG_FASTBOOT_BUF_SIZE=0x02000000
index 174fb588a6e995ccb3e445e3358d4771cee74a5b..5d45d7d7c2d76cc8d89c498476234c8fd053ff00 100644 (file)
@@ -81,5 +81,10 @@ config DFU_VIRT
          used at board level to manage specific behavior
          (OTP update for example).
 
+config SET_DFU_ALT_INFO
+       bool "Dynamic set of DFU alternate information"
+       help
+         This option allows to call the function set_dfu_alt_info to
+         dynamically build dfu_alt_info in board.
 endif
 endmenu
index a7e2a3d9a233d5f7d895ac6a046447df4f36266e..4044365328fc859978af4cc413b533cf0c9292a5 100644 (file)
@@ -64,7 +64,6 @@
        ""PARTS_BOOT" part 0 1;" \
        ""PARTS_ROOT" part 0 2\0" \
 
-#define CONFIG_SET_DFU_ALT_INFO
 #define CONFIG_SET_DFU_ALT_BUF_LEN     (SZ_1K)
 
 #define CONFIG_DFU_ALT_BOOT_EMMC \
index 47c30543f8f07b7003e1b7b428f741a705b7379b..564319c2311f9ed13a4508191885fa2b928ffcbe 100644 (file)
@@ -76,7 +76,6 @@
 
 /* Enable: board/samsung/common/misc.c to use set_dfu_alt_info() */
 #define CONFIG_MISC_COMMON
-#define CONFIG_SET_DFU_ALT_INFO
 #define CONFIG_SET_DFU_ALT_BUF_LEN     (SZ_1K)
 
 /* Set soc_rev, soc_id, board_rev, board_name, fdtfile */
index 2ba4fb1305a843c38d7ce7124a9348ea6712dd0e..baec6d7e6f0793dd887ea0707f45c011e9e7afc4 100644 (file)
@@ -90,8 +90,6 @@
 #define CONFIG_SYS_MTDPARTS_RUNTIME
 #endif
 
-#define CONFIG_SET_DFU_ALT_INFO
-
 #ifdef CONFIG_DM_VIDEO
 #define CONFIG_VIDEO_BMP_RLE8
 #define CONFIG_BMP_16BPP
index 19c921806092dc5c154c7f01c383267d40362daa..7c18b2481ce4e84d426c7f1dced60a8dae73c789 100644 (file)
@@ -1523,7 +1523,6 @@ CONFIG_SETUP_MEMORY_TAGS
 CONFIG_SET_BIST
 CONFIG_SET_BOOTARGS
 CONFIG_SET_DFU_ALT_BUF_LEN
-CONFIG_SET_DFU_ALT_INFO
 CONFIG_SFIO
 CONFIG_SF_DATAFLASH
 CONFIG_SGI_IP28