summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-05-10 14:19:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-13 13:45:44 +0200
commited251dc493215e1fa14e610b208059cdcb95e52e (patch)
treea406d2ca1a20b2e52ef57f4f81039b70323a144a /arch/arm/include
parent6165de1c087e15de83728c645e0c5cd47d43f671 (diff)
downloadbarebox-ed251dc493215e1fa14e610b208059cdcb95e52e.tar.gz
barebox-ed251dc493215e1fa14e610b208059cdcb95e52e.tar.xz
ARM: psci: factor out of_psci_fixup() to separate file
of_psci_fixup() can be used by code which doesn't use the barebox psci implementation, but provides its own PSCI compatible firmware. Factor it out to a separate file to compile it independently of the barebox PSCI implementation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/psci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/psci.h b/arch/arm/include/asm/psci.h
index e0c4525389..f2db967f3a 100644
--- a/arch/arm/include/asm/psci.h
+++ b/arch/arm/include/asm/psci.h
@@ -137,4 +137,6 @@ static inline int psci_printf(const char *fmt, ...)
int psci_get_cpu_id(void);
+int of_psci_fixup(struct device_node *root, unsigned long psci_version);
+
#endif /* __ARM_PSCI_H__ */