[PATCH v2 0/3] *** Introduce get_boot_device() for K3 platform ***
Wadim Egorov
w.egorov at phytec.de
Wed Apr 3 15:59:08 CEST 2024
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
More information about the U-Boot
mailing list