public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] *** Introduce get_boot_device() for K3 platform ***
@ 2024-02-26 13:30 Wadim Egorov
  2024-02-26 13:30 ` [PATCH 1/2] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL Wadim Egorov
  2024-02-26 13:30 ` [PATCH 2/2] arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs Wadim Egorov
  0 siblings, 2 replies; 13+ messages in thread
From: Wadim Egorov @ 2024-02-26 13:30 UTC (permalink / raw)
  To: u-boot; +Cc: nm, upstream, bb

It is handy to have some u-boot environment variables set based on
the current booting device.
Provide a way to obtain the boot device for non SPLs by factoring out
spl_boot_device() into an own function get_boot_device().

Wadim Egorov (2):
  arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL
  arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs

 arch/arm/mach-k3/Kconfig                      |   3 +-
 arch/arm/mach-k3/Makefile                     |   1 +
 arch/arm/mach-k3/am625_init.c                 | 110 +++---------------
 arch/arm/mach-k3/am62x/Makefile               |   2 +
 arch/arm/mach-k3/am62x/boot.c                 | 103 ++++++++++++++++
 arch/arm/mach-k3/include/mach/am62_hardware.h |  15 +++
 arch/arm/mach-k3/include/mach/hardware.h      |   1 +
 7 files changed, 138 insertions(+), 97 deletions(-)
 create mode 100644 arch/arm/mach-k3/am62x/Makefile
 create mode 100644 arch/arm/mach-k3/am62x/boot.c

-- 
2.34.1


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

end of thread, other threads:[~2024-04-01 16:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 13:30 [PATCH 0/2] *** Introduce get_boot_device() for K3 platform *** Wadim Egorov
2024-02-26 13:30 ` [PATCH 1/2] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL Wadim Egorov
2024-03-04  5:06   ` Vignesh Raghavendra
2024-03-04 20:27     ` Bryan Brattlof
2024-03-05  4:36       ` Vignesh Raghavendra
2024-03-05 17:34         ` Bryan Brattlof
2024-03-05 17:36           ` Raghavendra, Vignesh
2024-04-01  9:24             ` Wadim Egorov
2024-04-01 14:46               ` Bryan Brattlof
2024-04-01 16:53                 ` Wadim Egorov
2024-03-06 13:44     ` Wadim Egorov
2024-03-07  4:04       ` Raghavendra, Vignesh
2024-02-26 13:30 ` [PATCH 2/2] arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs Wadim Egorov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox