[U-Boot] [PATCH] env: Kconfig: Add environment default offset in versal
Michal Simek
monstr at monstr.eu
Tue Oct 8 07:51:41 UTC 2019
st 11. 9. 2019 v 16:46 odesÃlatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: T Karthik Reddy <t.karthik.reddy at xilinx.com>
>
> This patch adds default offset & sector size values for environment
> variables to save in qspi/ospi flash for versal.
>
> Signed-off-by: T Karthik Reddy <t.karthik.reddy at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> env/Kconfig | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/env/Kconfig b/env/Kconfig
> index 74db2f38cc19..e4ba12ece3f6 100644
> --- a/env/Kconfig
> +++ b/env/Kconfig
> @@ -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.
> --
> 2.17.1
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
More information about the U-Boot
mailing list