summaryrefslogtreecommitdiff
path: root/configs/smartweb_defconfig
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2021-06-01 16:51:47 +0530
committerTom Rini <trini@konsulko.com>2021-06-08 21:38:53 -0400
commit8e3ea2da729df07f296611abeabba6cc67333daa (patch)
treea44e183bc4181581fa83309dd354e476a499683f /configs/smartweb_defconfig
parent2509493cc1482b2b07ea6fd883960cd6bc068af5 (diff)
downloadu-boot-8e3ea2da729df07f296611abeabba6cc67333daa.tar.gz
u-boot-8e3ea2da729df07f296611abeabba6cc67333daa.tar.bz2
u-boot-8e3ea2da729df07f296611abeabba6cc67333daa.zip
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/smartweb_defconfig')
-rw-r--r--configs/smartweb_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/smartweb_defconfig b/configs/smartweb_defconfig
index 1f600d0278..dc7b27742f 100644
--- a/configs/smartweb_defconfig
+++ b/configs/smartweb_defconfig
@@ -53,6 +53,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_CLK=y
CONFIG_CLK_AT91=y
CONFIG_DFU_NAND=y
+CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
CONFIG_AT91_GPIO=y
# CONFIG_MMC is not set
CONFIG_MTD=y