public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/3] *** Introduce get_boot_device() for K3 platform ***
@ 2024-04-03 13:59 Wadim Egorov
  2024-04-03 13:59 ` [PATCH v2 1/3] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL Wadim Egorov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Wadim Egorov @ 2024-04-03 13:59 UTC (permalink / raw)
  To: u-boot; +Cc: nm, upstream, bb, vigneshr

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().

v2:
  - Relocate bootindex to OCRAM, drop misleading comments and remove not needed changes
  - Make get_boot_device() read bootindex out of OCRAM
  - Add user for get_boot_device(), patch 3

v1: https://lists.denx.de/pipermail/u-boot/2024-February/546770.html

Wadim Egorov (3):
  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
  board: phycore-am62x: Extend for better environment handling

 arch/arm/mach-k3/Makefile                     |   1 +
 arch/arm/mach-k3/am625_init.c                 | 103 ++----------------
 arch/arm/mach-k3/am62x/Makefile               |   2 +
 arch/arm/mach-k3/am62x/boot.c                 | 103 ++++++++++++++++++
 arch/arm/mach-k3/include/mach/am62_hardware.h |   1 +
 arch/arm/mach-k3/include/mach/hardware.h      |   1 +
 board/phytec/phycore_am62x/phycore-am62x.c    |  64 +++++++++++
 configs/phycore_am62x_a53_defconfig           |   1 +
 8 files changed, 182 insertions(+), 94 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] 5+ messages in thread

end of thread, other threads:[~2024-04-12 14:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-03 13:59 [PATCH v2 0/3] *** Introduce get_boot_device() for K3 platform *** Wadim Egorov
2024-04-03 13:59 ` [PATCH v2 1/3] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL Wadim Egorov
2024-04-03 13:59 ` [PATCH v2 2/3] arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs Wadim Egorov
2024-04-03 13:59 ` [PATCH v2 3/3] board: phycore-am62x: Extend for better environment handling Wadim Egorov
2024-04-12 14:52 ` [PATCH v2 0/3] *** Introduce get_boot_device() for K3 platform *** Tom Rini

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