Re: [PATCH 0/3] add PBL handoff-data support

2024-05-07 Thread Sascha Hauer


On Tue, 30 Apr 2024 12:53:07 +0200, Sascha Hauer wrote:
> We need to pass data from the PBL to barebox proper. Right now we do
> this with passing the data in registers which is quite limited. As the
> amount of information that has to be passed increases it's time to
> overcome this limitation.
> 
> This series introduces handoff-data which is a linked list of memory
> blobs that can be passed from PBL to barebox proper. Board and SoC
> code can append this list with their own entries and pick them up later
> in barebox proper. The ARM architecture is converted over to use handoff
> data, other architectures could follow.
> 
> [...]

Applied, thanks!

[1/3] ARM: move blob_is_arm_boarddata() to include
  https://git.pengutronix.de/cgit/barebox/commit/?id=c78e0862d540 (link may 
not be stable)
[2/3] add handoff-data support
  https://git.pengutronix.de/cgit/barebox/commit/?id=6b17d1443632 (link may 
not be stable)
[3/3] ARM: pass handoff data from PBL to proper
  https://git.pengutronix.de/cgit/barebox/commit/?id=637231379c32 (link may 
not be stable)

Best regards,
-- 
Sascha Hauer 




[PATCH 0/3] add PBL handoff-data support

2024-04-30 Thread Sascha Hauer
We need to pass data from the PBL to barebox proper. Right now we do
this with passing the data in registers which is quite limited. As the
amount of information that has to be passed increases it's time to
overcome this limitation.

This series introduces handoff-data which is a linked list of memory
blobs that can be passed from PBL to barebox proper. Board and SoC
code can append this list with their own entries and pick them up later
in barebox proper. The ARM architecture is converted over to use handoff
data, other architectures could follow.

Sascha Hauer (3):
  ARM: move blob_is_arm_boarddata() to include
  add handoff-data support
  ARM: pass handoff data from PBL to proper

 arch/arm/cpu/start.c   |  60 +++--
 arch/arm/cpu/uncompress.c  |  33 -
 arch/arm/include/asm/barebox-arm.h |   7 ++
 include/handoff-data.h |  48 
 pbl/Makefile   |   1 +
 pbl/handoff-data.c | 192 +
 6 files changed, 293 insertions(+), 48 deletions(-)
 create mode 100644 include/handoff-data.h
 create mode 100644 pbl/handoff-data.c

-- 
2.39.2