summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2015-11-13 08:49:06 (GMT)
committerYork Sun <yorksun@freescale.com>2015-11-30 17:11:13 (GMT)
commit1d3a76faccc14aad1eabc71aa50b49dddc942383 (patch)
treee8faed5092a29a05ea9b2ca621969024887d9655 /include
parentf8642ba6dd173a55a08cb2e0a04d4bb9a5945111 (diff)
downloadu-boot-fsl-qoriq-1d3a76faccc14aad1eabc71aa50b49dddc942383.tar.xz
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. Signed-off-by: Alison Wang <alison.wang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls2080a_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index 0e07f8c..2e1fe7a 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -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" \