Skip to content

mach-k3: Rework spl/get_boot_device()

Wadim Egorov u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- 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 <[email protected]>

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm: mach-k3: Rework spl/get_boot_device()arch/arm/mach-k3/Makefile arch/arm/mach-k3/am62x/boot.c arch/arm/mach-k3/boot-device.c +1 more+175 -992 replies
2/3arm: mach-k3: am62ax: Switch to boot-device helperarch/arm/mach-k3/am62ax/boot.c+42 -990 replies
3/3arm: mach-k3: am64x: Switch to boot-device helperarch/arm/mach-k3/am64x/boot.c+41 -980 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAnshul Dalal
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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 <[email protected]>

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
Signature · 1 line
2.48.1