Skip to content

Commit

Permalink
arch/arm64/imx9: Change Kconfig logic
Browse files Browse the repository at this point in the history
New configuration IMX9_HAVE_ATF_FIRMWARE introduced,
it is default on and it selects ARCH_HAVE_PSCI, when compiling
bootloader or when using bootloader that does not have atf
this shall be disabled

Signed-off-by: Jouni Ukkonen <[email protected]>
  • Loading branch information
joukkone authored and jlaitine committed Sep 12, 2024
1 parent 8b4b66e commit 4cc08bd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion arch/arm64/src/imx9/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4cc08bd

Please sign in to comment.