Re: [PATCH] usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig

2021-02-26 Thread Aswath Govindraju
On 23/02/21 11:44 am, Aswath Govindraju wrote:
> Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and
> CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/.h
> files and also in _defconfig files without a Kconfig option. It
> is easier for users to set these configs in defconfig files than in config
> header files as they are a part of the source code.
> 
> Add Kconfig symbols, and update the defconfigs by using tools/moveconfig.py
> script.
> 
> Suggested-by: Pratyush Yadav 
> Signed-off-by: Aswath Govindraju 
> ---

Posted v2 for this patch.

Thanks,
Aswath

>  configs/am65x_evm_a53_defconfig   |  2 ++
>  configs/am65x_evm_r5_usbdfu_defconfig |  2 ++
>  configs/am65x_hs_evm_a53_defconfig|  2 ++
>  configs/beaver_defconfig  |  2 ++
>  configs/cei-tk1-som_defconfig |  2 ++
>  configs/colibri-imx6ull_defconfig |  2 ++
>  configs/colibri_vf_defconfig  |  2 ++
>  configs/corvus_defconfig  |  2 ++
>  configs/dalmore_defconfig |  2 ++
>  configs/dh_imx6_defconfig |  2 ++
>  configs/draco_defconfig   |  2 ++
>  configs/e2220-1170_defconfig  |  2 ++
>  configs/etamin_defconfig  |  2 ++
>  configs/jetson-tk1_defconfig  |  2 ++
>  configs/nyan-big_defconfig|  2 ++
>  configs/odroid-xu3_defconfig  |  2 ++
>  configs/odroid_defconfig  |  2 ++
>  configs/origen_defconfig  |  2 ++
>  configs/p2371-_defconfig  |  2 ++
>  configs/p2371-2180_defconfig  |  2 ++
>  configs/p2571_defconfig   |  2 ++
>  configs/p3450-_defconfig  |  2 ++
>  configs/pico-dwarf-imx6ul_defconfig   |  2 ++
>  configs/pico-hobbit-imx6ul_defconfig  |  2 ++
>  configs/pico-imx6_defconfig   |  2 ++
>  configs/pico-imx6ul_defconfig |  2 ++
>  configs/pico-pi-imx6ul_defconfig  |  2 ++
>  configs/pxm2_defconfig|  2 ++
>  configs/rastaban_defconfig|  2 ++
>  configs/rpi_4_32b_defconfig   |  2 ++
>  configs/rpi_4_defconfig   |  2 ++
>  configs/rut_defconfig |  2 ++
>  configs/s5p_goni_defconfig|  2 ++
>  configs/s5pc210_universal_defconfig   |  2 ++
>  configs/smartweb_defconfig|  2 ++
>  configs/socfpga_arria5_defconfig  |  2 ++
>  configs/socfpga_cyclone5_defconfig|  2 ++
>  configs/socfpga_dbm_soc1_defconfig|  2 ++
>  configs/socfpga_de0_nano_soc_defconfig|  2 ++
>  configs/socfpga_de10_nano_defconfig   |  2 ++
>  configs/socfpga_mcvevk_defconfig  |  2 ++
>  configs/socfpga_sockit_defconfig  |  2 ++
>  configs/socfpga_socrates_defconfig|  2 ++
>  configs/socfpga_vining_fpga_defconfig |  2 ++
>  configs/taurus_defconfig  |  2 ++
>  configs/thuban_defconfig  |  2 ++
>  configs/topic_miami_defconfig |  2 ++
>  configs/topic_miamilite_defconfig |  2 ++
>  configs/topic_miamiplus_defconfig |  2 ++
>  configs/trats2_defconfig  |  2 ++
>  configs/trats_defconfig   |  2 ++
>  configs/venice2_defconfig |  2 ++
>  configs/warp7_bl33_defconfig  |  2 ++
>  configs/warp7_defconfig   |  2 ++
>  configs/warp_defconfig|  2 ++
>  configs/xilinx_versal_virt_defconfig  |  2 ++
>  configs/xilinx_zynq_virt_defconfig|  2 ++
>  configs/xilinx_zynqmp_virt_defconfig  |  2 ++
>  drivers/dfu/Kconfig   | 20 
>  include/configs/am65x_evm.h   |  8 
>  include/configs/colibri-imx6ull.h |  1 -
>  include/configs/colibri_vf.h  |  1 -
>  include/configs/corvus.h  |  1 -
>  include/configs/dh_imx6.h |  1 -
>  include/configs/exynos4-common.h  |  1 -
>  include/configs/odroid_xu3.h  |  1 -
>  include/configs/pico-imx6.h   |  1 -
>  include/configs/pico-imx6ul.h |  1 -
>  include/configs/rpi.h |  3 ---
>  include/configs/s5p_goni.h|  1 -
>  include/configs/siemens-am33x-common.h|  1 -
>  include/configs/smartweb.h|  1 -
>  include/configs/socfpga_common.h  |  1 -
>  include/configs/taurus.h  |  1 -
>  include/configs/tegra-common-usb-gadget.h |  2 --
>  include/configs/warp.h|  1 -
>  include/configs/warp7.h   |  1 -
>  include/configs/xilinx_versal.h   |  1 -
>  include/configs/xilinx_zynqmp.h   |  1 -
>  include/configs/zynq-common.h |  1 -
>  include/dfu.h |  6 --
>  scripts/config_whitelist.txt  |  2 --
>  82 files changed, 136 insertions(+), 39 

Re: [PATCH] usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig

2021-02-25 Thread Aswath Govindraju
Hi Oleksandr,

Thank you for pointing these errors out. I used the tools/moveconfig.py
script and I think this is error in the script while moving the configs.

As you suggested, I will check all direct settings of
CONFIG_SYS_DFU_MAX_FILE_SIZE and remove if it was not set previously.

Thanks,
Aswath

On 25/02/21 6:39 pm, Oleksandr Suvorov wrote:
>Hi Aswath,
> 
> The original behavior was the CONFIG_SYS_DFU_MAX_FILE_SIZE got its value
> from the CONFIG_SYS_DFU_DATA_BUF_SIZE by default.
> This patch introduces changing previous default values of
> CONFIG_SYS_DFU_MAX_FILE_SIZE
> for a set of boards, especially for colibri-imx6ull and colibri_vf.
> 
> Is there a reason to do it?
> 
> Moreover, for colibri-imx6ull this patch sets CONFIG_SYS_DFU_MAX_FILE_SIZE
> to the value lesser, than CONFIG_SYS_DFU_DATA_BUF_SIZE.
> Let's look into drivers/dfu/dfu.c:
>  if (dfu->max_buf_size && dfu_buf_size > dfu->max_buf_size)
> dfu_buf_size = dfu->max_buf_size;
> After this patch, the CONFIG_SYS_DFU_DATA_BUF_SIZE ends up equal to the lesser
> CONFIG_SYS_DFU_MAX_FILE_SIZE, which is not good.
> 
> Could you please check all direct settings of
> CONFIG_SYS_DFU_MAX_FILE_SIZE in defconfigs,
> keeping the assigns only for boards that had such an assignment before
> and using the original values?
> 
> On Tue, Feb 23, 2021 at 2:14 PM Aswath Govindraju  wrote:
>>
>> Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and
>> CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/.h
>> files and also in _defconfig files without a Kconfig option. It
>> is easier for users to set these configs in defconfig files than in config
>> header files as they are a part of the source code.
>>
>> Add Kconfig symbols, and update the defconfigs by using tools/moveconfig.py
>> script.
>>
>> Suggested-by: Pratyush Yadav 
>> Signed-off-by: Aswath Govindraju 
>> ---
>>  configs/am65x_evm_a53_defconfig   |  2 ++
>>  configs/am65x_evm_r5_usbdfu_defconfig |  2 ++
>>  configs/am65x_hs_evm_a53_defconfig|  2 ++
>>  configs/beaver_defconfig  |  2 ++
>>  configs/cei-tk1-som_defconfig |  2 ++
>>  configs/colibri-imx6ull_defconfig |  2 ++
>>  configs/colibri_vf_defconfig  |  2 ++
>>  configs/corvus_defconfig  |  2 ++
>>  configs/dalmore_defconfig |  2 ++
>>  configs/dh_imx6_defconfig |  2 ++
>>  configs/draco_defconfig   |  2 ++
>>  configs/e2220-1170_defconfig  |  2 ++
>>  configs/etamin_defconfig  |  2 ++
>>  configs/jetson-tk1_defconfig  |  2 ++
>>  configs/nyan-big_defconfig|  2 ++
>>  configs/odroid-xu3_defconfig  |  2 ++
>>  configs/odroid_defconfig  |  2 ++
>>  configs/origen_defconfig  |  2 ++
>>  configs/p2371-_defconfig  |  2 ++
>>  configs/p2371-2180_defconfig  |  2 ++
>>  configs/p2571_defconfig   |  2 ++
>>  configs/p3450-_defconfig  |  2 ++
>>  configs/pico-dwarf-imx6ul_defconfig   |  2 ++
>>  configs/pico-hobbit-imx6ul_defconfig  |  2 ++
>>  configs/pico-imx6_defconfig   |  2 ++
>>  configs/pico-imx6ul_defconfig |  2 ++
>>  configs/pico-pi-imx6ul_defconfig  |  2 ++
>>  configs/pxm2_defconfig|  2 ++
>>  configs/rastaban_defconfig|  2 ++
>>  configs/rpi_4_32b_defconfig   |  2 ++
>>  configs/rpi_4_defconfig   |  2 ++
>>  configs/rut_defconfig |  2 ++
>>  configs/s5p_goni_defconfig|  2 ++
>>  configs/s5pc210_universal_defconfig   |  2 ++
>>  configs/smartweb_defconfig|  2 ++
>>  configs/socfpga_arria5_defconfig  |  2 ++
>>  configs/socfpga_cyclone5_defconfig|  2 ++
>>  configs/socfpga_dbm_soc1_defconfig|  2 ++
>>  configs/socfpga_de0_nano_soc_defconfig|  2 ++
>>  configs/socfpga_de10_nano_defconfig   |  2 ++
>>  configs/socfpga_mcvevk_defconfig  |  2 ++
>>  configs/socfpga_sockit_defconfig  |  2 ++
>>  configs/socfpga_socrates_defconfig|  2 ++
>>  configs/socfpga_vining_fpga_defconfig |  2 ++
>>  configs/taurus_defconfig  |  2 ++
>>  configs/thuban_defconfig  |  2 ++
>>  configs/topic_miami_defconfig |  2 ++
>>  configs/topic_miamilite_defconfig |  2 ++
>>  configs/topic_miamiplus_defconfig |  2 ++
>>  configs/trats2_defconfig  |  2 ++
>>  configs/trats_defconfig   |  2 ++
>>  configs/venice2_defconfig |  2 ++
>>  configs/warp7_bl33_defconfig  |  2 ++
>>  configs/warp7_defconfig   |  2 ++
>>  configs/warp_defconfig|  2 ++
>>  configs/xilinx_versal_virt_defconfig  |  2 ++
>>  configs/xilinx_zynq_virt_defconfig|  2 ++
>>  

Re: [PATCH] usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig

2021-02-25 Thread Oleksandr Suvorov
   Hi Aswath,

The original behavior was the CONFIG_SYS_DFU_MAX_FILE_SIZE got its value
from the CONFIG_SYS_DFU_DATA_BUF_SIZE by default.
This patch introduces changing previous default values of
CONFIG_SYS_DFU_MAX_FILE_SIZE
for a set of boards, especially for colibri-imx6ull and colibri_vf.

Is there a reason to do it?

Moreover, for colibri-imx6ull this patch sets CONFIG_SYS_DFU_MAX_FILE_SIZE
to the value lesser, than CONFIG_SYS_DFU_DATA_BUF_SIZE.
Let's look into drivers/dfu/dfu.c:
 if (dfu->max_buf_size && dfu_buf_size > dfu->max_buf_size)
dfu_buf_size = dfu->max_buf_size;
After this patch, the CONFIG_SYS_DFU_DATA_BUF_SIZE ends up equal to the lesser
CONFIG_SYS_DFU_MAX_FILE_SIZE, which is not good.

Could you please check all direct settings of
CONFIG_SYS_DFU_MAX_FILE_SIZE in defconfigs,
keeping the assigns only for boards that had such an assignment before
and using the original values?

On Tue, Feb 23, 2021 at 2:14 PM Aswath Govindraju  wrote:
>
> Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and
> CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/.h
> files and also in _defconfig files without a Kconfig option. It
> is easier for users to set these configs in defconfig files than in config
> header files as they are a part of the source code.
>
> Add Kconfig symbols, and update the defconfigs by using tools/moveconfig.py
> script.
>
> Suggested-by: Pratyush Yadav 
> Signed-off-by: Aswath Govindraju 
> ---
>  configs/am65x_evm_a53_defconfig   |  2 ++
>  configs/am65x_evm_r5_usbdfu_defconfig |  2 ++
>  configs/am65x_hs_evm_a53_defconfig|  2 ++
>  configs/beaver_defconfig  |  2 ++
>  configs/cei-tk1-som_defconfig |  2 ++
>  configs/colibri-imx6ull_defconfig |  2 ++
>  configs/colibri_vf_defconfig  |  2 ++
>  configs/corvus_defconfig  |  2 ++
>  configs/dalmore_defconfig |  2 ++
>  configs/dh_imx6_defconfig |  2 ++
>  configs/draco_defconfig   |  2 ++
>  configs/e2220-1170_defconfig  |  2 ++
>  configs/etamin_defconfig  |  2 ++
>  configs/jetson-tk1_defconfig  |  2 ++
>  configs/nyan-big_defconfig|  2 ++
>  configs/odroid-xu3_defconfig  |  2 ++
>  configs/odroid_defconfig  |  2 ++
>  configs/origen_defconfig  |  2 ++
>  configs/p2371-_defconfig  |  2 ++
>  configs/p2371-2180_defconfig  |  2 ++
>  configs/p2571_defconfig   |  2 ++
>  configs/p3450-_defconfig  |  2 ++
>  configs/pico-dwarf-imx6ul_defconfig   |  2 ++
>  configs/pico-hobbit-imx6ul_defconfig  |  2 ++
>  configs/pico-imx6_defconfig   |  2 ++
>  configs/pico-imx6ul_defconfig |  2 ++
>  configs/pico-pi-imx6ul_defconfig  |  2 ++
>  configs/pxm2_defconfig|  2 ++
>  configs/rastaban_defconfig|  2 ++
>  configs/rpi_4_32b_defconfig   |  2 ++
>  configs/rpi_4_defconfig   |  2 ++
>  configs/rut_defconfig |  2 ++
>  configs/s5p_goni_defconfig|  2 ++
>  configs/s5pc210_universal_defconfig   |  2 ++
>  configs/smartweb_defconfig|  2 ++
>  configs/socfpga_arria5_defconfig  |  2 ++
>  configs/socfpga_cyclone5_defconfig|  2 ++
>  configs/socfpga_dbm_soc1_defconfig|  2 ++
>  configs/socfpga_de0_nano_soc_defconfig|  2 ++
>  configs/socfpga_de10_nano_defconfig   |  2 ++
>  configs/socfpga_mcvevk_defconfig  |  2 ++
>  configs/socfpga_sockit_defconfig  |  2 ++
>  configs/socfpga_socrates_defconfig|  2 ++
>  configs/socfpga_vining_fpga_defconfig |  2 ++
>  configs/taurus_defconfig  |  2 ++
>  configs/thuban_defconfig  |  2 ++
>  configs/topic_miami_defconfig |  2 ++
>  configs/topic_miamilite_defconfig |  2 ++
>  configs/topic_miamiplus_defconfig |  2 ++
>  configs/trats2_defconfig  |  2 ++
>  configs/trats_defconfig   |  2 ++
>  configs/venice2_defconfig |  2 ++
>  configs/warp7_bl33_defconfig  |  2 ++
>  configs/warp7_defconfig   |  2 ++
>  configs/warp_defconfig|  2 ++
>  configs/xilinx_versal_virt_defconfig  |  2 ++
>  configs/xilinx_zynq_virt_defconfig|  2 ++
>  configs/xilinx_zynqmp_virt_defconfig  |  2 ++
>  drivers/dfu/Kconfig   | 20 
>  include/configs/am65x_evm.h   |  8 
>  include/configs/colibri-imx6ull.h |  1 -
>  include/configs/colibri_vf.h  |  1 -
>  include/configs/corvus.h  |  1 -
>  include/configs/dh_imx6.h |  1 -
>  include/configs/exynos4-common.h  |  1 -
>  include/configs/odroid_xu3.h  |  1 -

Re: [PATCH] usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig

2021-02-25 Thread Heiko Schocher
Hello Aswath,

On 23.02.21 07:14, Aswath Govindraju wrote:
> Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and
> CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/.h
> files and also in _defconfig files without a Kconfig option. It
> is easier for users to set these configs in defconfig files than in config
> header files as they are a part of the source code.
> 
> Add Kconfig symbols, and update the defconfigs by using tools/moveconfig.py
> script.
> 
> Suggested-by: Pratyush Yadav 
> Signed-off-by: Aswath Govindraju 
> ---
>  configs/am65x_evm_a53_defconfig   |  2 ++
>  configs/am65x_evm_r5_usbdfu_defconfig |  2 ++
>  configs/am65x_hs_evm_a53_defconfig|  2 ++
>  configs/beaver_defconfig  |  2 ++
>  configs/cei-tk1-som_defconfig |  2 ++
>  configs/colibri-imx6ull_defconfig |  2 ++
>  configs/colibri_vf_defconfig  |  2 ++
>  configs/corvus_defconfig  |  2 ++
>  configs/dalmore_defconfig |  2 ++
>  configs/dh_imx6_defconfig |  2 ++
>  configs/draco_defconfig   |  2 ++
>  configs/e2220-1170_defconfig  |  2 ++
>  configs/etamin_defconfig  |  2 ++
>  configs/jetson-tk1_defconfig  |  2 ++
>  configs/nyan-big_defconfig|  2 ++
>  configs/odroid-xu3_defconfig  |  2 ++
>  configs/odroid_defconfig  |  2 ++
>  configs/origen_defconfig  |  2 ++
>  configs/p2371-_defconfig  |  2 ++
>  configs/p2371-2180_defconfig  |  2 ++
>  configs/p2571_defconfig   |  2 ++
>  configs/p3450-_defconfig  |  2 ++
>  configs/pico-dwarf-imx6ul_defconfig   |  2 ++
>  configs/pico-hobbit-imx6ul_defconfig  |  2 ++
>  configs/pico-imx6_defconfig   |  2 ++
>  configs/pico-imx6ul_defconfig |  2 ++
>  configs/pico-pi-imx6ul_defconfig  |  2 ++
>  configs/pxm2_defconfig|  2 ++
>  configs/rastaban_defconfig|  2 ++
>  configs/rpi_4_32b_defconfig   |  2 ++
>  configs/rpi_4_defconfig   |  2 ++
>  configs/rut_defconfig |  2 ++
>  configs/s5p_goni_defconfig|  2 ++
>  configs/s5pc210_universal_defconfig   |  2 ++
>  configs/smartweb_defconfig|  2 ++
>  configs/socfpga_arria5_defconfig  |  2 ++
>  configs/socfpga_cyclone5_defconfig|  2 ++
>  configs/socfpga_dbm_soc1_defconfig|  2 ++
>  configs/socfpga_de0_nano_soc_defconfig|  2 ++
>  configs/socfpga_de10_nano_defconfig   |  2 ++
>  configs/socfpga_mcvevk_defconfig  |  2 ++
>  configs/socfpga_sockit_defconfig  |  2 ++
>  configs/socfpga_socrates_defconfig|  2 ++
>  configs/socfpga_vining_fpga_defconfig |  2 ++
>  configs/taurus_defconfig  |  2 ++
>  configs/thuban_defconfig  |  2 ++
>  configs/topic_miami_defconfig |  2 ++
>  configs/topic_miamilite_defconfig |  2 ++
>  configs/topic_miamiplus_defconfig |  2 ++
>  configs/trats2_defconfig  |  2 ++
>  configs/trats_defconfig   |  2 ++
>  configs/venice2_defconfig |  2 ++
>  configs/warp7_bl33_defconfig  |  2 ++
>  configs/warp7_defconfig   |  2 ++
>  configs/warp_defconfig|  2 ++
>  configs/xilinx_versal_virt_defconfig  |  2 ++
>  configs/xilinx_zynq_virt_defconfig|  2 ++
>  configs/xilinx_zynqmp_virt_defconfig  |  2 ++
>  drivers/dfu/Kconfig   | 20 
>  include/configs/am65x_evm.h   |  8 
>  include/configs/colibri-imx6ull.h |  1 -
>  include/configs/colibri_vf.h  |  1 -
>  include/configs/corvus.h  |  1 -
>  include/configs/dh_imx6.h |  1 -
>  include/configs/exynos4-common.h  |  1 -
>  include/configs/odroid_xu3.h  |  1 -
>  include/configs/pico-imx6.h   |  1 -
>  include/configs/pico-imx6ul.h |  1 -
>  include/configs/rpi.h |  3 ---
>  include/configs/s5p_goni.h|  1 -
>  include/configs/siemens-am33x-common.h|  1 -
>  include/configs/smartweb.h|  1 -
>  include/configs/socfpga_common.h  |  1 -
>  include/configs/taurus.h  |  1 -
>  include/configs/tegra-common-usb-gadget.h |  2 --
>  include/configs/warp.h|  1 -
>  include/configs/warp7.h   |  1 -
>  include/configs/xilinx_versal.h   |  1 -
>  include/configs/xilinx_zynqmp.h   |  1 -
>  include/configs/zynq-common.h |  1 -
>  include/dfu.h |  6 --
>  scripts/config_whitelist.txt  |  2 --
>  82 files changed, 136 insertions(+), 39 deletions(-)

Reviewed-by: Heiko Schocher 


[PATCH] usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig

2021-02-23 Thread Aswath Govindraju
Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and
CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/.h
files and also in _defconfig files without a Kconfig option. It
is easier for users to set these configs in defconfig files than in config
header files as they are a part of the source code.

Add Kconfig symbols, and update the defconfigs by using tools/moveconfig.py
script.

Suggested-by: Pratyush Yadav 
Signed-off-by: Aswath Govindraju 
---
 configs/am65x_evm_a53_defconfig   |  2 ++
 configs/am65x_evm_r5_usbdfu_defconfig |  2 ++
 configs/am65x_hs_evm_a53_defconfig|  2 ++
 configs/beaver_defconfig  |  2 ++
 configs/cei-tk1-som_defconfig |  2 ++
 configs/colibri-imx6ull_defconfig |  2 ++
 configs/colibri_vf_defconfig  |  2 ++
 configs/corvus_defconfig  |  2 ++
 configs/dalmore_defconfig |  2 ++
 configs/dh_imx6_defconfig |  2 ++
 configs/draco_defconfig   |  2 ++
 configs/e2220-1170_defconfig  |  2 ++
 configs/etamin_defconfig  |  2 ++
 configs/jetson-tk1_defconfig  |  2 ++
 configs/nyan-big_defconfig|  2 ++
 configs/odroid-xu3_defconfig  |  2 ++
 configs/odroid_defconfig  |  2 ++
 configs/origen_defconfig  |  2 ++
 configs/p2371-_defconfig  |  2 ++
 configs/p2371-2180_defconfig  |  2 ++
 configs/p2571_defconfig   |  2 ++
 configs/p3450-_defconfig  |  2 ++
 configs/pico-dwarf-imx6ul_defconfig   |  2 ++
 configs/pico-hobbit-imx6ul_defconfig  |  2 ++
 configs/pico-imx6_defconfig   |  2 ++
 configs/pico-imx6ul_defconfig |  2 ++
 configs/pico-pi-imx6ul_defconfig  |  2 ++
 configs/pxm2_defconfig|  2 ++
 configs/rastaban_defconfig|  2 ++
 configs/rpi_4_32b_defconfig   |  2 ++
 configs/rpi_4_defconfig   |  2 ++
 configs/rut_defconfig |  2 ++
 configs/s5p_goni_defconfig|  2 ++
 configs/s5pc210_universal_defconfig   |  2 ++
 configs/smartweb_defconfig|  2 ++
 configs/socfpga_arria5_defconfig  |  2 ++
 configs/socfpga_cyclone5_defconfig|  2 ++
 configs/socfpga_dbm_soc1_defconfig|  2 ++
 configs/socfpga_de0_nano_soc_defconfig|  2 ++
 configs/socfpga_de10_nano_defconfig   |  2 ++
 configs/socfpga_mcvevk_defconfig  |  2 ++
 configs/socfpga_sockit_defconfig  |  2 ++
 configs/socfpga_socrates_defconfig|  2 ++
 configs/socfpga_vining_fpga_defconfig |  2 ++
 configs/taurus_defconfig  |  2 ++
 configs/thuban_defconfig  |  2 ++
 configs/topic_miami_defconfig |  2 ++
 configs/topic_miamilite_defconfig |  2 ++
 configs/topic_miamiplus_defconfig |  2 ++
 configs/trats2_defconfig  |  2 ++
 configs/trats_defconfig   |  2 ++
 configs/venice2_defconfig |  2 ++
 configs/warp7_bl33_defconfig  |  2 ++
 configs/warp7_defconfig   |  2 ++
 configs/warp_defconfig|  2 ++
 configs/xilinx_versal_virt_defconfig  |  2 ++
 configs/xilinx_zynq_virt_defconfig|  2 ++
 configs/xilinx_zynqmp_virt_defconfig  |  2 ++
 drivers/dfu/Kconfig   | 20 
 include/configs/am65x_evm.h   |  8 
 include/configs/colibri-imx6ull.h |  1 -
 include/configs/colibri_vf.h  |  1 -
 include/configs/corvus.h  |  1 -
 include/configs/dh_imx6.h |  1 -
 include/configs/exynos4-common.h  |  1 -
 include/configs/odroid_xu3.h  |  1 -
 include/configs/pico-imx6.h   |  1 -
 include/configs/pico-imx6ul.h |  1 -
 include/configs/rpi.h |  3 ---
 include/configs/s5p_goni.h|  1 -
 include/configs/siemens-am33x-common.h|  1 -
 include/configs/smartweb.h|  1 -
 include/configs/socfpga_common.h  |  1 -
 include/configs/taurus.h  |  1 -
 include/configs/tegra-common-usb-gadget.h |  2 --
 include/configs/warp.h|  1 -
 include/configs/warp7.h   |  1 -
 include/configs/xilinx_versal.h   |  1 -
 include/configs/xilinx_zynqmp.h   |  1 -
 include/configs/zynq-common.h |  1 -
 include/dfu.h |  6 --
 scripts/config_whitelist.txt  |  2 --
 82 files changed, 136 insertions(+), 39 deletions(-)

diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index 0b5a27f7cfbb..0ffc1907c1fd 100644
--- a/configs/am65x_evm_a53_defconfig
+++ b/configs/am65x_evm_a53_defconfig
@@ -90,6 +90,8 @@ CONFIG_CLK_TI_SCI=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y