diff options
author | Heiko Schocher <hs@denx.de> | 2020-11-30 20:46:05 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-12-06 15:07:40 +0100 |
commit | 7a8d18da4bb2a92246af1129337164e9a41a9abf (patch) | |
tree | 03683b07b6a74f6d0ca788eb1436a68e37653900 /include | |
parent | 68163c3bf0fee9a32e4a31f2d678561ed833264f (diff) | |
download | u-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 'include')
-rw-r--r-- | include/configs/aristainetos2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/aristainetos2.h b/include/configs/aristainetos2.h index c1e8b4a..78fa1a9 100644 --- a/include/configs/aristainetos2.h +++ b/include/configs/aristainetos2.h @@ -449,4 +449,7 @@ #define CONFIG_IMX6_PWM_PER_CLK 66000000 +#define CONFIG_ENV_FLAGS_LIST_STATIC "ethaddr:mw,serial#:sw,board_type:sw," \ + "sysnum:dw,panel:sw,ipaddr:iw,serverip:iw" + #endif /* __ARISTAINETOS2_CONFIG_H */ |