[U-Boot] [PATCH 2/2] microblaze: Enable option to overwrite default variables

Michal Simek michal.simek at xilinx.com
Fri Dec 16 09:16:15 CET 2016


Enable overwriting variables out of main config file.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 include/configs/microblaze-generic.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 6b380f005ecc..36b0a0eb163c 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -241,6 +241,7 @@
 
 #define	CONFIG_PREBOOT	"echo U-BOOT for ${hostname};setenv preboot;echo"
 
+#ifndef CONFIG_EXTRA_ENV_SETTINGS
 #define	CONFIG_EXTRA_ENV_SETTINGS	"unlock=yes\0" \
 					"nor0=flash-0\0"\
 					"mtdparts=mtdparts=flash-0:"\
@@ -250,6 +251,7 @@
 					"setenv stdin nc\0" \
 					"serial=setenv stdout serial;"\
 					"setenv stdin serial\0"
+#endif
 
 #define CONFIG_CMDLINE_EDITING
 
-- 
1.9.1



More information about the U-Boot mailing list