summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2021-02-24 10:33:45 +0100
committerMichal Simek <michal.simek@xilinx.com>2021-04-23 08:43:10 +0200
commitec217210f351c5c5089063f42eeb5e967a8ea5ba (patch)
tree514fe6439d5aa0e0bc38685f4e1e3a90509ff87f
parent275a4490fd2f30df76f2aa07efa0f595fef4d46f (diff)
downloadu-boot-ec217210f351c5c5089063f42eeb5e967a8ea5ba.tar.gz
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 <michal.simek@xilinx.com>
-rw-r--r--env/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 08e49c2a47..84e9fb1f8a 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.