public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr
@ 2015-11-13  8:49 Alison Wang
  2015-11-30 17:20 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Alison Wang @ 2015-11-13  8:49 UTC (permalink / raw)
  To: u-boot

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>
---
 include/configs/ls2085a_common.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h
index 0011e72..2d2396a 100644
--- a/include/configs/ls2085a_common.h
+++ b/include/configs/ls2085a_common.h
@@ -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"	\
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr
  2015-11-13  8:49 [U-Boot] [PATCH] armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr Alison Wang
@ 2015-11-30 17:20 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-11-30 17:20 UTC (permalink / raw)
  To: u-boot



On 11/13/2015 12:49 AM, Alison Wang wrote:
> 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>
> ---
>  include/configs/ls2085a_common.h | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied to fsl-qoriq master. Thanks.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-30 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-13  8:49 [U-Boot] [PATCH] armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr Alison Wang
2015-11-30 17:20 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox