summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/psci.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-11-06 11:21:45 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-07 08:08:24 +0100
commitb64f035f7caaa90bf716bd3ccd95a67fd2085daf (patch)
tree229f4fd340808b48abc8bb13d3d798e4127813eb /arch/arm/cpu/psci.c
parent95bf11436890136534868894f96181a79cbf2662 (diff)
downloadbarebox-b64f035f7caaa90bf716bd3ccd95a67fd2085daf.tar.gz
barebox-b64f035f7caaa90bf716bd3ccd95a67fd2085daf.tar.xz
ARM: psci: use CONFIG_ARM_PSCI_DEBUG for smc command
There's already an option to use when debugging PSCI. Instead of requiring users to #define DEBUG 1 as well, have the smc command be usable when CONFIG_ARM_PSCI_DEBUG, not DEBUG is defined. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/psci.c')
-rw-r--r--arch/arm/cpu/psci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/psci.c b/arch/arm/cpu/psci.c
index b02e83986a..8c5043d83c 100644
--- a/arch/arm/cpu/psci.c
+++ b/arch/arm/cpu/psci.c
@@ -228,7 +228,7 @@ static int armv7_psci_init(void)
}
device_initcall(armv7_psci_init);
-#ifdef DEBUG
+#ifdef CONFIG_ARM_PSCI_DEBUG
#include <command.h>
#include <getopt.h>