]> git.sur5r.net Git - u-boot/commitdiff
ARM: zynq: Do not select options if SPL is not enabled
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Jan 2016 13:32:43 +0000 (14:32 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:55 +0000 (15:55 +0100)
Zynq setups some default options for SPL but not all targets are
enabling SPL.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/Kconfig

index 876a620cf197b343ad2fdc27a9864a0bc6ee71ab..d2dbb1a5c27f2db05ed2b5727dbfdcbee80adbfa 100644 (file)
@@ -558,15 +558,15 @@ config ARCH_ZYNQ
        select CPU_V7
        select SUPPORT_SPL
        select OF_CONTROL
-       select SPL_OF_CONTROL
+       select SPL_OF_CONTROL if SPL
        select DM
        select DM_ETH
-       select SPL_DM
+       select SPL_DM if SPL
        select DM_MMC
        select DM_SPI
        select DM_SERIAL
        select DM_SPI_FLASH
-       select SPL_SEPARATE_BSS
+       select SPL_SEPARATE_BSS if SPL
 
 config ARCH_ZYNQMP
        bool "Support Xilinx ZynqMP Platform"