Commit 70b5ea74063e55bef59190833b5d83039e3d3ae8
1 parent
31e00acdc7
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
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 <abrodkin@synopsys.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Showing 10 changed files with 6 additions and 18 deletions Side-by-side Diff
configs/emsdp_defconfig
configs/iot_devkit_defconfig
configs/tb100_defconfig
env/Kconfig
... | ... | @@ -431,7 +431,7 @@ |
431 | 431 | It's a string of the EXT4 file name. This file use to store the |
432 | 432 | environment (explicit path to the file) |
433 | 433 | |
434 | -if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL | |
434 | +if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARC | |
435 | 435 | |
436 | 436 | config ENV_OFFSET |
437 | 437 | hex "Environment Offset" |
... | ... | @@ -441,6 +441,7 @@ |
441 | 441 | default 0x88000 if ARCH_SUNXI |
442 | 442 | default 0xE0000 if ARCH_ZYNQ |
443 | 443 | default 0x1E00000 if ARCH_ZYNQMP |
444 | + default 0 if ARC | |
444 | 445 | help |
445 | 446 | Offset from the start of the device (or partition) |
446 | 447 | |
... | ... | @@ -449,6 +450,7 @@ |
449 | 450 | default 0x40000 if ENV_IS_IN_SPI_FLASH && ARCH_ZYNQMP |
450 | 451 | default 0x20000 if ARCH_SUNXI || ARCH_ZYNQ |
451 | 452 | default 0x8000 if ARCH_ROCKCHIP || ARCH_ZYNQMP || ARCH_VERSAL |
453 | + default 0x4000 if ARC | |
452 | 454 | help |
453 | 455 | Size of the environment storage area |
454 | 456 |
include/configs/axs10x.h
include/configs/emsdp.h
include/configs/hsdk.h
include/configs/iot_devkit.h
include/configs/nsim.h
include/configs/tb100.h