On 7/22/25 10:47 PM, Alice Guo (OSS) wrote:
From: Alice Guo <alice....@nxp.com>

This patch is used to restore support for i.MX95 A0 silicon. The usage
is updated in imx95_evk.rst.

Fixes: 9936724aa9b ("imx95_evk: Add i.MX95 B0 support")

Signed-off-by: Alice Guo <alice....@nxp.com>
---
  arch/arm/mach-imx/imx9/Kconfig            |   5 +-
  arch/arm/mach-imx/imx9/scmi/container.cfg |   2 +
  arch/arm/mach-imx/imx9/scmi/imximage.cfg  |  11 ++
  configs/imx95_a0_19x19_evk_defconfig      | 153 ++++++++++++++++++++++
  doc/board/nxp/imx95_evk.rst               |  41 +++++-
  5 files changed, 207 insertions(+), 5 deletions(-)
  create mode 100644 configs/imx95_a0_19x19_evk_defconfig

diff --git a/arch/arm/mach-imx/imx9/Kconfig b/arch/arm/mach-imx/imx9/Kconfig
index 4e0e194690b..a306203b111 100644
--- a/arch/arm/mach-imx/imx9/Kconfig
+++ b/arch/arm/mach-imx/imx9/Kconfig
@@ -25,6 +25,9 @@ config IMX91
        select ARCH_MISC_INIT
        select ARMV8_SPL_EXCEPTION_VECTORS
+config IMX95_A0
+       bool "Choice i.MX95 A0"
+
  config IMX95
        bool
        select ARCH_MISC_INIT
@@ -33,7 +36,7 @@ config IMX95
        select DM_MAILBOX
        select SCMI_FIRMWARE
        select SPL_IMX_CONTAINER_USE_TRAMPOLINE
-       select IMX_PQC_SUPPORT
+       select IMX_PQC_SUPPORT if !IMX95_A0
config SYS_SOC
        default "imx9"
diff --git a/arch/arm/mach-imx/imx9/scmi/container.cfg 
b/arch/arm/mach-imx/imx9/scmi/container.cfg
index b25f3b726c5..bc10cdb227b 100644
--- a/arch/arm/mach-imx/imx9/scmi/container.cfg
+++ b/arch/arm/mach-imx/imx9/scmi/container.cfg
@@ -3,7 +3,9 @@
   * Copyright 2025 NXP
   */
+#ifndef CONFIG_IMX95_A0
  CNTR_VERSION 2
+#endif
  BOOT_FROM SD
  SOC_TYPE IMX9
  CONTAINER
Generate this whole file using binman, and then specify the SoC variant in control DT, as yet another binman image etype property .

Reply via email to