]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
iot2050: Add CFG_ENV_FLAGS_LIST_STATIC
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 28 Feb 2023 18:19:14 +0000 (19:19 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 29 Mar 2023 15:58:26 +0000 (11:58 -0400)
Will be needed when CONFIG_ENV_WRITEABLE_LIST is enabled. The listed
variables shall remain writable, for informational purposes - they have
to be considered untrusted because the persistent U-Boot env is not
protected.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
include/configs/iot2050.h

index 8dfeaddf541c1e3e676e19c78b4cf3ef3ffb6a1f..217719472e58f58ef27d50c64a870f0fa8d07210 100644 (file)
 
 #include <configs/ti_armv7_common.h>
 
+#ifdef CONFIG_ENV_WRITEABLE_LIST
+#define CFG_ENV_FLAGS_LIST_STATIC                                      \
+       "board_uuid:sw,board_name:sw,board_serial:sw,board_a5e:sw,"     \
+       "mlfb:sw,fw_version:sw,seboot_version:sw,"                      \
+       "eth1addr:mw,eth2addr:mw,watchdog_timeout_ms:dw,boot_targets:sw"
+#endif
+
 #endif /* __CONFIG_IOT2050_H */