[PATCH v2 0/2] Add SPI NOR A/B switching support and detect A/B image on MX95

fedor.ross at ifm.com fedor.ross at ifm.com
Mon Apr 27 15:32:49 CEST 2026


This series adds support for SPI NOR A/B switching support on i.MX95 .
Therefore, add a function to obtain selected boot image by reading out
ROM data via SCMI. With this in place, it is also possible to implement
the getprisec subcommand of bmode command to detect which of A/B image
was booted.

Signed-off-by: Fedor Ross <fedor.ross at ifm.com>
---
Changes in v2:
- declare imx95_detect_secondary_image_boot()
  in arch/arm/include/asm/arch-imx9/sys_proto.h
- tweak preprocessor conditionals
- Link to v1: https://lore.kernel.org/r/20260423-b4-imx95_img_set_sel-v1-0-1681ea8b1507@ifm.com

---
Fedor Ross (1):
      imx9: scmi: soc: Add support for detecting primary/secondary bmode on MX95

Marek Vasut (1):
      imx: Add SPI NOR A/B switching support

 arch/arm/include/asm/arch-imx9/sys_proto.h |  2 ++
 arch/arm/mach-imx/Kconfig                  |  2 +-
 arch/arm/mach-imx/image-container.c        |  8 +++++++-
 arch/arm/mach-imx/imx9/scmi/soc.c          | 18 ++++++++++++++++++
 4 files changed, 28 insertions(+), 2 deletions(-)
---
base-commit: 9f61fd5b80a43ae20ba115e3a2933d47d720ab82
change-id: 20260420-b4-imx95_img_set_sel-74e6b414de27

Best regards,
-- 
Fedor Ross <fedor.ross at ifm.com>



More information about the U-Boot mailing list