All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/1] mach-k3: Rework spl/get_boot_device()
@ 2025-08-13 10:29 Wadim Egorov
  2025-08-13 10:29 ` [RFC 1/1] arm: " Wadim Egorov
  0 siblings, 1 reply; 3+ messages in thread
From: Wadim Egorov @ 2025-08-13 10:29 UTC (permalink / raw)
  To: trini, afd, n-francis, s-k6; +Cc: u-boot, upstream

This is an attempt to commonize some of the spl/get_boot_device() code.
I am interested in factoring out more of the spl_boot_device() code out
of the <soc>_init.c files to make it also available for non SPLs.

While at it, I came up with this change to improve the current situation
and provide a basis for further cleanup.

Before refactoring any other SoCs to follow this approach, I would like to
gather feedback on the concept. Is this a direction we want to go?

The idea is based on commit 784548efb2b7 ("ARM: uniphier: rework
spl_boot_device() and related code").

Wadim Egorov (1):
  arm: mach-k3: Rework spl/get_boot_device()

 arch/arm/mach-k3/Makefile                     |   2 +-
 arch/arm/mach-k3/am62x/boot.c                 | 129 +++++-------------
 arch/arm/mach-k3/boot-device.c                | 109 +++++++++++++++
 arch/arm/mach-k3/boot-device.h                |  27 ++++
 arch/arm/mach-k3/include/mach/am62_hardware.h |   1 +
 5 files changed, 169 insertions(+), 99 deletions(-)
 create mode 100644 arch/arm/mach-k3/boot-device.c
 create mode 100644 arch/arm/mach-k3/boot-device.h

-- 
2.48.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-10 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 10:29 [RFC 0/1] mach-k3: Rework spl/get_boot_device() Wadim Egorov
2025-08-13 10:29 ` [RFC 1/1] arm: " Wadim Egorov
2025-09-10 11:32   ` Anshul Dalal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.