diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-05-20 11:43:34 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-02 17:27:04 -0400 |
commit | 9f8aa0fbee40b66ceeaab06d3a0ce9a7a7d692a7 (patch) | |
tree | f91b7127c7f7c9798f511e786d0b6a3116d79f53 | |
parent | 4f6abf159a17a3923fa40d7fc7e46d09ad24c055 (diff) | |
download | u-boot-9f8aa0fbee40b66ceeaab06d3a0ce9a7a7d692a7.tar.gz u-boot-9f8aa0fbee40b66ceeaab06d3a0ce9a7a7d692a7.tar.bz2 u-boot-9f8aa0fbee40b66ceeaab06d3a0ce9a7a7d692a7.zip |
ARM: add psci_arch_init() declaration for CONFIG_ARMV7_PSCI
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>
-rw-r--r-- | arch/arm/include/asm/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h index 1e3f574403..7a40b56acd 100644 --- a/arch/arm/include/asm/system.h +++ b/arch/arm/include/asm/system.h @@ -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); |