[PATCH 0/4] make more use of handoff data
Sascha Hauer
s.hauer at pengutronix.de
Tue May 21 03:49:09 PDT 2024
struct boarddata is a mechanism to pass a ARM machine number from PBL to
barebox proper. The EFI payload also uses it to pass some custom
pointers to barebox proper. handoff data was created for exactly this
purpose, so retire boarddata and use handoff data instead.
@afa, the efi patch is compile tested only. Could you give it a try?
Sascha
Sascha Hauer (4):
handoff-data: put handoff data into data section
efi-payload: use handoff data to pass data to barebox proper
ARM: beagle: setup C environment early
ARM: replace boarddata with handoff data
arch/arm/boards/beagle/lowlevel.c | 9 ++--
arch/arm/boards/chumby_falconwing/lowlevel.c | 7 +--
.../boards/crystalfontz-cfa10036/lowlevel.c | 7 +--
arch/arm/boards/freescale-mx23-evk/lowlevel.c | 7 +--
arch/arm/boards/imx233-olinuxino/lowlevel.c | 7 +--
arch/arm/boards/karo-tx28/lowlevel.c | 7 +--
arch/arm/cpu/start.c | 20 +++-----
arch/arm/cpu/uncompress.c | 3 --
arch/arm/include/asm/barebox-arm.h | 24 ++++-----
efi/payload/boarddata.c | 12 +++--
efi/payload/entry-multi.c | 16 +++---
include/boarddata.h | 49 -------------------
include/efi/efi-payload.h | 5 ++
include/pbl/handoff-data.h | 21 ++++----
pbl/handoff-data.c | 6 +--
15 files changed, 64 insertions(+), 136 deletions(-)
delete mode 100644 include/boarddata.h
--
2.39.2
More information about the barebox
mailing list