]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv7: ls1021a: Convert CONFIG_LS1_DEEP_SLEEP to Kconfig option
authorYork Sun <york.sun@nxp.com>
Mon, 26 Sep 2016 15:09:29 +0000 (08:09 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 26 Sep 2016 15:53:07 +0000 (08:53 -0700)
Move this option to Kconfig and clean up existing uses.

Signed-off-by: York Sun <york.sun@nxp.com>
CC: Hongbo Zhang <hongbo.zhang@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/Kconfig
arch/arm/cpu/armv7/ls102xa/Kconfig
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h

index 1bc45ed28e39da1fd45e2b8374804b63ecabe182..5073930419ae51571935da26279216dbbea0a69c 100644 (file)
@@ -822,6 +822,7 @@ config TARGET_LS1021AQDS
        select SUPPORT_SPL
        select ARCH_LS1021A
        select ARCH_SUPPORT_PSCI
+       select LS1_DEEP_SLEEP
 
 config TARGET_LS1021ATWR
        bool "Support ls1021atwr"
@@ -829,6 +830,7 @@ config TARGET_LS1021ATWR
        select SUPPORT_SPL
        select ARCH_LS1021A
        select ARCH_SUPPORT_PSCI
+       select LS1_DEEP_SLEEP
 
 config TARGET_LS1043AQDS
        bool "Support ls1043aqds"
index e88a05e9a6fc330ddb95716f6460a33ab02dc113..920eb4ad98001ec5c44a2508de789afabdbfc279 100644 (file)
@@ -1,3 +1,6 @@
 config ARCH_LS1021A
        bool "Freescale Layerscape LS1021A SoC"
        select SYS_FSL_ERRATUM_A010315
+
+config LS1_DEEP_SLEEP
+       bool "Freescale Layerscape 1 deep sleep"
index 5aaecc718e904dfea8e4036a229040b6163bd616..7a256da1f2ae3995e672752e6061ef7d79588a73 100644 (file)
@@ -10,7 +10,6 @@
 #define CONFIG_LS102XA
 
 #define CONFIG_ARMV7_PSCI_1_0
-#define CONFIG_LS1_DEEP_SLEEP
 
 #define CONFIG_ARMV7_SECURE_BASE       OCRAM_BASE_S_ADDR
 
index ef238a4c8f38ddb0b538bf66c4ed9388e1ed75ec..90ae770eeffaa4087760a3ab594ffe04b6a7486b 100644 (file)
@@ -10,7 +10,6 @@
 #define CONFIG_LS102XA
 
 #define CONFIG_ARMV7_PSCI_1_0
-#define CONFIG_LS1_DEEP_SLEEP
 
 #define CONFIG_ARMV7_SECURE_BASE       OCRAM_BASE_S_ADDR