arch/arm64/imx9: Change Kconfig logic

New configuration IMX9_HAVE_ATF_FIRMWARE introduced,
it is default on and it selects ARM64_HAVE_PSCI, when compiling
bootloader or when using bootloader that does not have atf
this shall be disabled

Signed-off-by: Jouni Ukkonen <jouni.ukkonen@unikie.com>
This commit is contained in:
Jouni Ukkonen 2024-08-19 09:10:50 +03:00 committed by Xiang Xiao
parent 55e4a98df7
commit c2a300d2b0

View File

@ -16,7 +16,6 @@ config ARCH_CHIP_IMX93
select ARCH_HAVE_MULTICPU
select ARMV8A_HAVE_GICv3
select ARCH_CORTEX_A55
select ARM64_HAVE_PSCI if !IMX9_BOOTLOADER
select ARCH_HAVE_PWM_MULTICHAN
select ARCH_HAVE_RESET
@ -47,6 +46,15 @@ config IMX9_FLEXIO_PWM
select PWM_MULTICHAN
default n
config IMX9_HAVE_ATF_FIRMWARE
bool "ARM ATF services support in bootloader"
default y
select ARM64_HAVE_PSCI
---help---
Configure this n if using Nuttx bootloader that does not
implemet EL3 services, by default this is y when using uboot as
a booloader
config IMX9_BOOTLOADER
bool "Bootloader"
select ARM64_DECODEFIQ