diff mbox

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

Message ID 04e50b53c2845fdb0ec724d8a2488e9e61e3e1dd.1452779095.git.michal.simek@xilinx.com
State Accepted
Commit eb04ab3492297941b285ff552645cc1c0ed72edb
Delegated to: Michal Simek
Headers show

Commit Message

Michal Simek Jan. 14, 2016, 1:44 p.m. UTC
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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

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"