]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
zynq: zybo: Move CONFIG_DEFAULT_DEVICE_TREE to defconfig
authorMichal Simek <michal.simek@xilinx.com>
Thu, 13 Nov 2014 12:22:40 +0000 (13:22 +0100)
committerTom Rini <trini@ti.com>
Thu, 13 Nov 2014 13:38:22 +0000 (08:38 -0500)
This is a MIME GnuPG-signed message.  If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.

Move CONFIG_DEFAULT_DEVICE_TREE from board config
directly to defconfig.

This patch removes compilation warning:
include/configs/zynq_zybo.h:24:0: warning: "CONFIG_DEFAULT_DEVICE_TREE"
redefined [enabled by default]
 #define CONFIG_DEFAULT_DEVICE_TREE zynq-zybo

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

index a00f4fcea5b745febac25e862eeb0418dbf6c7f2..12311cd83b5011f35ff2b69737ad24c7b1fb9f9f 100644 (file)
@@ -2,3 +2,5 @@ CONFIG_SPL=y
 +S:CONFIG_ARM=y
 +S:CONFIG_ZYNQ=y
 +S:CONFIG_TARGET_ZYNQ_ZYBO=y
+CONFIG_OF_CONTROL=y
+CONFIG_DEFAULT_DEVICE_TREE="zynq-zybo"
index ce1527fafc5134dde324d14cd0f8f5a5d964230b..191f2a5f301e2f8a817cb01a803852a2eb6cff49 100644 (file)
@@ -21,7 +21,6 @@
 
 #define CONFIG_ZYNQ_SDHCI0
 #define CONFIG_ZYNQ_BOOT_FREEBSD
-#define CONFIG_DEFAULT_DEVICE_TREE     zynq-zybo
 
 /* Define ZYBO PS Clock Frequency to 50MHz */
 #define CONFIG_ZYNQ_PS_CLK_FREQ        50000000UL