armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr
authorAlison Wang <b18965@freescale.com>
Fri, 13 Nov 2015 08:49:06 +0000 (16:49 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 30 Nov 2015 17:11:13 +0000 (09:11 -0800)
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.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/ls2080a_common.h

index 0e07f8c..2e1fe7a 100644 (file)
@@ -253,6 +253,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"    \