diff options
author | Ryan Chen <ryan_chen@aspeedtech.com> | 2023-02-10 10:41:53 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-07 01:03:56 +0300 |
commit | 48d7e589457212c2a284a27991f82fca1f194af7 (patch) | |
tree | 7cc3b2e60873e878e53a9930a40b236813fa1426 | |
parent | c55c2a8565ad6b8aad2e47008a53bbca398c0f62 (diff) | |
download | u-boot-48d7e589457212c2a284a27991f82fca1f194af7.tar.xz |
configs: evb-ast2600: Enable configs to store env in SPI
Enable defconfigs relevant for storing env on SPI flash.
Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
-rw-r--r-- | configs/evb-ast2600_defconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/evb-ast2600_defconfig b/configs/evb-ast2600_defconfig index 597b7715d3..32e022fb8a 100644 --- a/configs/evb-ast2600_defconfig +++ b/configs/evb-ast2600_defconfig @@ -13,6 +13,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_NR_DRAM_BANKS=1 CONFIG_SPL_LDSCRIPT="arch/arm/mach-aspeed/ast2600/u-boot-spl.lds" CONFIG_ENV_SIZE=0x10000 +CONFIG_ENV_OFFSET=0xe0000 +CONFIG_ENV_SECT_SIZE=0x10000 CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="ast2600-evb" CONFIG_DM_RESET=y @@ -74,6 +76,8 @@ CONFIG_EFI_PARTITION=y # CONFIG_SPL_EFI_PARTITION is not set CONFIG_SPL_OF_CONTROL=y CONFIG_ENV_OVERWRITE=y +CONFIG_ENV_IS_IN_SPI_FLASH=y +CONFIG_ENV_SECT_SIZE_AUTO=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SPL_DM=y |