aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib/psci-dt.c
diff options
context:
space:
mode:
authormacro.wave.z@gmail.com2016-12-08 11:58:21 +0800
committerYork Sun2016-12-15 11:57:18 -0800
commit2d16a1a6c9eeb30fa6828f048df06ee9807792d3 (patch)
tree423da2c51a90c00a4119a9cd431d5f76c8262be4 /arch/arm/lib/psci-dt.c
parent8e62f1ee03c82ad285a4e2245e25fc348320749e (diff)
ARMv8: LS1043A: change macro CONFIG_ARMV8_PSCI definition
NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI implementation in PPA firmware, but this macro naming too generic, so this patch replaces it with a specic one CONFIG_FSL_PPA_ARMV8_PSCI. And this macro CONFIG_ARMV8_PSCI will be used for a generic PSCI for ARMv8 which will be added in following patchs. Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/lib/psci-dt.c')
-rw-r--r--arch/arm/lib/psci-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/psci-dt.c b/arch/arm/lib/psci-dt.c
index baf6d7083f0..41e139e7df3 100644
--- a/arch/arm/lib/psci-dt.c
+++ b/arch/arm/lib/psci-dt.c
@@ -16,7 +16,7 @@
int fdt_psci(void *fdt)
{
-#if defined(CONFIG_ARMV8_PSCI) || defined(CONFIG_ARMV7_PSCI)
+#if defined(CONFIG_FSL_PPA_ARMV8_PSCI) || defined(CONFIG_ARMV7_PSCI)
int nodeoff;
unsigned int psci_ver = 0;
int tmp;