[PATCH v2 0/3] mach-k3: Rework spl/get_boot_device()

Wadim Egorov w.egorov at phytec.de
Tue Nov 4 16:24:56 CET 2025


This may need an rebase after the MMC macros fixup patch from Judith [1].
Also, if we want to extend it to all K3 SoCs, some of the Jacinto devices
would need an update of their DEVSTAT masks to be relativ to the
bootmode config.

v2:
  - Fixed up includes in boot-device.c (use spl.h)
  - Add proper kernel-doc-style struct documentation for k3_boot_map
  - Do not include io.h in am62_hardware.h (not needed anymore)
  - Pick up Acked-by: Anshul Dalal <anshuld at ti.com>

v1:  https://lists.denx.de/pipermail/u-boot/2025-October/599583.html
RFC: https://lists.denx.de/pipermail/u-boot/2025-August/596543.html

[1] https://lists.denx.de/pipermail/u-boot/2025-September/598239.html

Wadim Egorov (3):
  arm: mach-k3: Rework spl/get_boot_device()
  arm: mach-k3: am62ax: Switch to boot-device helper
  arm: mach-k3: am64x: Switch to boot-device helper

 arch/arm/mach-k3/Makefile      |   2 +-
 arch/arm/mach-k3/am62ax/boot.c | 141 ++++++++++-----------------------
 arch/arm/mach-k3/am62x/boot.c  | 141 ++++++++++-----------------------
 arch/arm/mach-k3/am64x/boot.c  | 139 ++++++++++----------------------
 arch/arm/mach-k3/boot-device.c |  90 +++++++++++++++++++++
 arch/arm/mach-k3/boot-device.h |  41 ++++++++++
 6 files changed, 258 insertions(+), 296 deletions(-)
 create mode 100644 arch/arm/mach-k3/boot-device.c
 create mode 100644 arch/arm/mach-k3/boot-device.h

-- 
2.48.1



More information about the U-Boot mailing list