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 6b380f0..36b0a0e 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