From 70b5ea74063e55bef59190833b5d83039e3d3ae8 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Tue, 15 Jan 2019 11:42:48 +0300 Subject: ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Reviewed-by: Tom Rini --- env/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'env') diff --git a/env/Kconfig b/env/Kconfig index 9011109b47..c22cbbdadc 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -431,7 +431,7 @@ config ENV_EXT4_FILE It's a string of the EXT4 file name. This file use to store the environment (explicit path to the file) -if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL +if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARC config ENV_OFFSET hex "Environment Offset" @@ -441,6 +441,7 @@ config ENV_OFFSET default 0x88000 if ARCH_SUNXI default 0xE0000 if ARCH_ZYNQ default 0x1E00000 if ARCH_ZYNQMP + default 0 if ARC help Offset from the start of the device (or partition) @@ -449,6 +450,7 @@ config ENV_SIZE default 0x40000 if ENV_IS_IN_SPI_FLASH && ARCH_ZYNQMP default 0x20000 if ARCH_SUNXI || ARCH_ZYNQ default 0x8000 if ARCH_ROCKCHIP || ARCH_ZYNQMP || ARCH_VERSAL + default 0x4000 if ARC help Size of the environment storage area -- cgit v1.2.3