microblaze: Enable option to overwrite default variables
authorMichal Simek <michal.simek@xilinx.com>
Tue, 10 May 2016 11:11:19 +0000 (13:11 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 10 Jan 2017 09:18:11 +0000 (10:18 +0100)
Enable overwriting variables out of main config file.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/microblaze-generic.h

index 6b380f005ecc1c004841d2892a94a793f23657a0..36b0a0eb163cdf81b3c11d0904d7d461ac01a972 100644 (file)
 
 #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:"\
                                        "setenv stdin nc\0" \
                                        "serial=setenv stdout serial;"\
                                        "setenv stdin serial\0"
+#endif
 
 #define CONFIG_CMDLINE_EDITING