]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 20 Jun 2022 11:13:54 +0000 (20:13 +0900)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Tue, 21 Nov 2023 14:28:15 +0000 (15:28 +0100)
commitf49062330967a549d2967242c36a2fe984b16b4e
treecbdfc87d46ad1e0b97fc2610bd2e13a0e6650b6c
parentdca7a8958f8d0dbd53072caa4353353e062d80ca
dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration

Add CONFIG_DFU_NAME_MAX_SIZE to change the proper size.
If name is longer than default size, it can do wrong behavior during updating
image. So it need to change the proper maximum size.

This patch is proviced the solution to change value with configuration.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Link: https://lore.kernel.org/r/20220620111354.448512-1-jh80.chung@samsung.com
[mkorpershoek: fixed build errors for dfu.h includes]
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
drivers/dfu/Kconfig
include/dfu.h