From ec217210f351c5c5089063f42eeb5e967a8ea5ba Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Wed, 24 Feb 2021 10:33:45 +0100 Subject: env: Setup default value for ENV_OFFSET_REDUND This variable is used for pointing to location where redundant variables are located. There is no default value. And it doesn't need to be specified which is showing as warning when savedefconfig is called. make xilinx_zynqmp_virt_defconfig # # configuration written to .config # make savedefconfig scripts/kconfig/conf --savedefconfig=defconfig Kconfig .config:199:warning: symbol value '' invalid for ENV_OFFSET_REDUND Signed-off-by: Michal Simek --- env/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'env/Kconfig') diff --git a/env/Kconfig b/env/Kconfig index 08e49c2a47f..84e9fb1f8ad 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -556,6 +556,7 @@ config ENV_OFFSET_REDUND hex "Redundant environment offset" depends on (ENV_IS_IN_EEPROM || ENV_IS_IN_MMC || ENV_IS_IN_NAND || \ ENV_IS_IN_SPI_FLASH) && SYS_REDUNDAND_ENVIRONMENT + default 0 help Offset from the start of the device (or partition) of the redundant environment location. -- cgit v1.2.3