[U-Boot] [PATCH 2/9] ARM: zynq: Do not select options if SPL is not enabled

Michal Simek michal.simek at xilinx.com
Thu Jan 14 14:44:53 CET 2016


Zynq setups some default options for SPL but not all targets are
enabling SPL.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9bd6cf1d807d..8c6c35bb0f43 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -551,15 +551,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"
-- 
1.9.1



More information about the U-Boot mailing list