This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new c2a300d2b0 arch/arm64/imx9: Change Kconfig logic
c2a300d2b0 is described below
commit c2a300d2b00c5ae8def932c789fbfb8811feb9f3
Author: Jouni Ukkonen <[email protected]>
AuthorDate: Mon Aug 19 09:10:50 2024 +0300
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 <[email protected]>
---
arch/arm64/src/imx9/Kconfig | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/src/imx9/Kconfig b/arch/arm64/src/imx9/Kconfig
index c82c818790..40d0caaa62 100644
--- a/arch/arm64/src/imx9/Kconfig
+++ b/arch/arm64/src/imx9/Kconfig
@@ -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