aboutsummaryrefslogtreecommitdiff
path: root/configs/aristainetos2c_defconfig
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2020-11-30 20:46:05 +0100
committerStefano Babic <sbabic@denx.de>2020-12-06 15:07:40 +0100
commit7a8d18da4bb2a92246af1129337164e9a41a9abf (patch)
tree03683b07b6a74f6d0ca788eb1436a68e37653900 /configs/aristainetos2c_defconfig
parent68163c3bf0fee9a32e4a31f2d678561ed833264f (diff)
downloadu-boot-7a8d18da4bb2a92246af1129337164e9a41a9abf.zip
u-boot-7a8d18da4bb2a92246af1129337164e9a41a9abf.tar.gz
u-boot-7a8d18da4bb2a92246af1129337164e9a41a9abf.tar.bz2
imx: aristainetos: enable U-Boot Environment variables protection
enable Environment protection with: CONFIG_ENV_APPEND=y CONFIG_ENV_WRITEABLE_LIST=y CONFIG_ENV_ACCESS_IGNORE_FORCE and add board specific env_get_location() function. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'configs/aristainetos2c_defconfig')
-rw-r--r--configs/aristainetos2c_defconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/configs/aristainetos2c_defconfig b/configs/aristainetos2c_defconfig
index 773d7f6..df0b26d 100644
--- a/configs/aristainetos2c_defconfig
+++ b/configs/aristainetos2c_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_SYS_TEXT_BASE=0x17800000
-CONFIG_SYS_MALLOC_F_LEN=0xe000
+CONFIG_SYS_MALLOC_F_LEN=0x13000
CONFIG_NR_DRAM_BANKS=1
CONFIG_ENV_OFFSET=0xD0000
CONFIG_MX6DL=y
@@ -30,6 +30,8 @@ CONFIG_CMD_BOOTZ=y
# CONFIG_BOOTM_PLAN9 is not set
# CONFIG_BOOTM_RTEMS is not set
# CONFIG_BOOTM_VXWORKS is not set
+CONFIG_CMD_ENV_FLAGS=y
+CONFIG_CMD_NVEDIT_INFO=y
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_GPIO=y
CONFIG_CMD_I2C=y
@@ -54,10 +56,14 @@ CONFIG_OF_CONTROL=y
CONFIG_DTB_RESELECT=y
CONFIG_MULTI_DTB_FIT=y
CONFIG_ENV_OVERWRITE=y
+CONFIG_ENV_IS_NOWHERE=y
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_ENV_SPI_EARLY=y
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_ENV_APPEND=y
+CONFIG_ENV_WRITEABLE_LIST=y
+CONFIG_ENV_ACCESS_IGNORE_FORCE=y
CONFIG_VERSION_VARIABLE=y
CONFIG_BOUNCE_BUFFER=y
CONFIG_APBH_DMA=y