arch/imx9: Add PSCI (system reset) support

ARMv8.2-A has PSCI -> it also has support for system reset
This commit is contained in:
Ville Juven 2024-04-23 12:46:13 +03:00 committed by Xiang Xiao
parent 3348d03f95
commit 1b7a95c756
2 changed files with 6 additions and 0 deletions

View File

@ -16,7 +16,9 @@ config ARCH_CHIP_IMX93
select ARCH_HAVE_MULTICPU
select ARMV8A_HAVE_GICv3
select ARCH_CORTEX_A55
select ARCH_HAVE_PSCI
select ARCH_HAVE_PWM_MULTICHAN
select ARCH_HAVE_RESET
endchoice # i.MX9 Chip Selection

View File

@ -105,6 +105,10 @@ void arm64_chip_boot(void)
imx9_lowsetup();
#endif
#if defined(CONFIG_SMP) || defined(CONFIG_ARCH_HAVE_PSCI)
arm64_psci_init("smc");
#endif
/* Initialize pin interrupt support */
#ifdef CONFIG_IMX9_GPIO_IRQ