diff options
author | Aswath Govindraju <a-govindraju@ti.com> | 2021-06-01 14:21:47 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-06-09 04:38:53 +0300 |
commit | 8e3ea2da729df07f296611abeabba6cc67333daa (patch) | |
tree | a44e183bc4181581fa83309dd354e476a499683f /configs/socfpga_arria5_defconfig | |
parent | 2509493cc1482b2b07ea6fd883960cd6bc068af5 (diff) | |
download | u-boot-8e3ea2da729df07f296611abeabba6cc67333daa.tar.xz |
usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig
Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and
CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/<board>.h
files and also in <board_name>_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 <p.yadav@ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Acked-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Acked-by: Matthias Brugger <mbrugger@suse.com>
Acked-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'configs/socfpga_arria5_defconfig')
-rw-r--r-- | configs/socfpga_arria5_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig index d4f9bade3d..e6e6cb24e1 100644 --- a/configs/socfpga_arria5_defconfig +++ b/configs/socfpga_arria5_defconfig @@ -39,6 +39,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_VERSION_VARIABLE=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_DFU_MMC=y +CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000 CONFIG_DWAPB_GPIO=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_DW=y |