test/py: test_ut.py: Ensure we use bytes
[oweals/u-boot.git] / env / Kconfig
index 74db2f38cc1906bb4d74dad4ecd812c1897fd738..bc03816bc8b3c6bb9eb75247d657f70fcb3a33c9 100644 (file)
@@ -473,6 +473,7 @@ config ENV_OFFSET
        default 0x88000 if ARCH_SUNXI
        default 0xE0000 if ARCH_ZYNQ
        default 0x1E00000 if ARCH_ZYNQMP
+       default 0x7F40000 if ARCH_VERSAL
        default 0 if ARC
        default 0x140000 if ARCH_AT91
        default 0x260000 if ARCH_OMAP2PLUS
@@ -491,8 +492,8 @@ config ENV_SIZE
 
 config ENV_SECT_SIZE
        hex "Environment Sector-Size"
-       depends on (!ENV_IS_NOWHERE && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_OMAP2PLUS || ARCH_AT91) )|| ARCH_STM32MP
-       default 0x40000 if ARCH_ZYNQMP
+       depends on (!ENV_IS_NOWHERE && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARCH_OMAP2PLUS || ARCH_AT91) )|| ARCH_STM32MP
+       default 0x40000 if ARCH_ZYNQMP || ARCH_VERSAL
        default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
        help
          Size of the sector containing the environment.
@@ -515,6 +516,12 @@ config ENV_UBI_VOLUME_REDUND
        help
          Name of the redundant volume that you want to store the environment in.
 
+config ENV_UBI_IS_VOLUME_REDUND
+       bool
+       depends on ENV_IS_IN_UBI
+       default y if ENV_UBI_VOLUME_REDUND != ""
+       default n
+
 config ENV_UBI_VID_OFFSET
        int "ubi environment VID offset"
        depends on ENV_IS_IN_UBI