summaryrefslogtreecommitdiff
path: root/configs/cei-tk1-som_defconfig
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2021-03-30 13:42:06 +0000
committerPraneeth Bajjuri <praneeth@ti.com>2021-03-30 22:28:33 -0500
commit8e2b78ba2b503d3baab105afd66d490462f79768 (patch)
tree9aec27ccc8371cac9542334c12407b7ab68c7b1e /configs/cei-tk1-som_defconfig
parentcf4db6a765c64d3745fc77a8c3847843c6f44374 (diff)
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>
Diffstat (limited to 'configs/cei-tk1-som_defconfig')
-rw-r--r--configs/cei-tk1-som_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/cei-tk1-som_defconfig b/configs/cei-tk1-som_defconfig
index 987e3ac8e9..c1ff9d7f14 100644
--- a/configs/cei-tk1-som_defconfig
+++ b/configs/cei-tk1-som_defconfig
@@ -34,6 +34,8 @@ CONFIG_SPL_DM=y
CONFIG_DFU_MMC=y
CONFIG_DFU_RAM=y
CONFIG_DFU_SF=y
+CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
+CONFIG_SYS_DFU_MAX_FILE_SIZE=0x2000000
CONFIG_SYS_I2C_TEGRA=y
CONFIG_SF_DEFAULT_MODE=0
CONFIG_SF_DEFAULT_SPEED=24000000