]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: add psci_arch_init() declaration for CONFIG_ARMV7_PSCI
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 20 May 2020 02:43:34 +0000 (11:43 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 2 Jun 2020 21:27:04 +0000 (17:27 -0400)
arch/arm/include/asm/system.h declares psci_arch_init(), but it is
surrounded by #ifdef CONFIG_ARMV8_PSCI.

psci_arch_init() is called for CONFIG_ARMV7_PSCI too. Add the missing
function declaration.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/include/asm/system.h

index 1e3f574403a05ceb81cbdfd1ec88e8a811480566..7a40b56acdcae28101f8d05eb6159e8167cbf188 100644 (file)
@@ -528,6 +528,7 @@ void mmu_page_table_flush(unsigned long start, unsigned long stop);
 
 #ifdef CONFIG_ARMV7_PSCI
 void psci_arch_cpu_entry(void);
+void psci_arch_init(void);
 u32 psci_version(void);
 s32 psci_features(u32 function_id, u32 psci_fid);
 s32 psci_cpu_off(void);