Skip to contentSkip to conversation

armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr

PATCH New Alison Wang 2 participants 2 messages Nov 13, 2015 – Nov 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr

As the environment variables "serial#" and "ethaddr" need to be overwriten by the users, CONFIG_ENV_OVERWRITE is defined to disable the write protection. Anybody can change or delete these parameters.

---
 include/configs/ls2085a_common.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/ls2085a_common.h +3 -0
index 0011e72..2d2396a 100644
@@ -245,6 +245,9 @@ unsigned long long get_qixis_addr(void);
 
 #define CONFIG_DISPLAY_CPUINFO
 
+/* Allow to overwrite serial and ethaddr */
+#define CONFIG_ENV_OVERWRITE
+
 /* Initial environment variables */
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
Signature · 1 line
2.1.0.27.g96db324
Applied
#1 lore raw

PATCH 1/1 armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr

Quoted 9 lines · Alison Wang

As the environment variables "serial#" and "ethaddr" need to be overwriten by the users, CONFIG_ENV_OVERWRITE is defined to disable the write protection. Anybody can change or delete these parameters.

---
 include/configs/ls2085a_common.h | 3 +++
 1 file changed, 3 insertions(+)

Applied to fsl-qoriq master. Thanks.

York