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:
parent
55e4a98df7
commit
c2a300d2b0
@ -16,7 +16,6 @@ config ARCH_CHIP_IMX93
|
|||||||
select ARCH_HAVE_MULTICPU
|
select ARCH_HAVE_MULTICPU
|
||||||
select ARMV8A_HAVE_GICv3
|
select ARMV8A_HAVE_GICv3
|
||||||
select ARCH_CORTEX_A55
|
select ARCH_CORTEX_A55
|
||||||
select ARM64_HAVE_PSCI if !IMX9_BOOTLOADER
|
|
||||||
select ARCH_HAVE_PWM_MULTICHAN
|
select ARCH_HAVE_PWM_MULTICHAN
|
||||||
select ARCH_HAVE_RESET
|
select ARCH_HAVE_RESET
|
||||||
|
|
||||||
@ -47,6 +46,15 @@ config IMX9_FLEXIO_PWM
|
|||||||
select PWM_MULTICHAN
|
select PWM_MULTICHAN
|
||||||
default n
|
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
|
config IMX9_BOOTLOADER
|
||||||
bool "Bootloader"
|
bool "Bootloader"
|
||||||
select ARM64_DECODEFIQ
|
select ARM64_DECODEFIQ
|
||||||
|
Loading…
Reference in New Issue
Block a user