]> git.sur5r.net Git - u-boot/commitdiff
ARM64: zynqmp: Enable option to overwrite default variables
authorMichal Simek <michal.simek@xilinx.com>
Tue, 10 May 2016 07:50:35 +0000 (09:50 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 May 2016 09:15:01 +0000 (11:15 +0200)
Enable overwriting variables out of main config file.

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

index e6c38a5819fa1d10160f2fd9cdbf362dca16939b..1a1892dff6a4d1cb39d6a6d9070a34577c8212d7 100644 (file)
 #endif
 
 /* Initial environment variables */
+#ifndef CONFIG_EXTRA_ENV_SETTINGS
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "kernel_addr=0x80000\0" \
        "fdt_addr=0x7000000\0" \
                "load mmc $sdbootdev:$partid $kernel_addr Image && " \
                "booti $kernel_addr - $fdt_addr\0" \
        DFU_ALT_INFO
+#endif
 
 #define CONFIG_BOOTCOMMAND     "run $modeboot"
 #define CONFIG_BOOTDELAY       3