From e37c18f891920be529b90eda856cf7389f2c8bc3 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 25 Nov 2014 17:23:22 -0600 Subject: arm64: psci: actually inform SoC layer of CPU_ON entry psci_soc_init() was added to allow SoC PSCI initialization. However, actually calling said function was omitted accidentally. BUG=chrome-os-partner:32136 BRANCH=None TEST=Built and noted correct on entry point was used. Change-Id: I84a397e2dabf149fe8f252ef69d0a7362fa1f194 Signed-off-by: Patrick Georgi Original-Commit-Id: 2a0e6ad41f049bbab483423231db59390894e9b2 Original-Change-Id: I1a4e25fde64ecdc98fa9231f7d9cafc21119630d Original-Signed-off-by: Aaron Durbin Original-Reviewed-on: https://chromium-review.googlesource.com/231935 Original-Reviewed-by: Furquan Shaikh Reviewed-on: http://review.coreboot.org/9530 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/arm64/armv8/secmon/psci.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch/arm64') diff --git a/src/arch/arm64/armv8/secmon/psci.c b/src/arch/arm64/armv8/secmon/psci.c index 3ba7e73e61..6047abd698 100644 --- a/src/arch/arm64/armv8/secmon/psci.c +++ b/src/arch/arm64/armv8/secmon/psci.c @@ -565,4 +565,7 @@ void psci_init(uintptr_t cpu_on_entry) /* Register PSCI handlers. */ if (smc_register_range(PSCI_CPU_OFF64, PSCI_CPU_ON64, &psci_handler)) printk(BIOS_ERR, "Couldn't register PSCI handler.\n"); + + /* Inform SoC layer of CPU_ON entry point. */ + psci_soc_init(cpu_on_entry); } -- cgit v1.2.3