]> Git Repo - u-boot.git/commit
spl: add fixed memory node in target fdt also when loading ATF
authorHeiko Stuebner <[email protected]>
Mon, 25 May 2020 17:57:25 +0000 (19:57 +0200)
committerKever Yang <[email protected]>
Sun, 31 May 2020 14:22:07 +0000 (22:22 +0800)
commita343b4fe739a56ef248f01d96d80d080228b4068
tree4f4d6392a2ae158c0d3fa73f07b9ed946457d105
parentb6740fb116ebb02ecf6306e4a6234dcea03842e0
spl: add fixed memory node in target fdt also when loading ATF

In a loading chain SPL -> ATF (->OP-TEE) -> U-Boot, ATF and a subsequent
OP-TEE will re-use the same fdt as the U-Boot target and may need the
information about usable memory ranges.

Especially OP-TEE needs this to initialize dynamic shared memory
(the only type U-Boot implements when talking to OP-TEE).

So allow spl_fixup_fdt() to take a fdt_blob argument, falling back to
the existing CONFIG_SYS_SPL_ARGS_ADDR if needed and call it from the
ATF path as well.

Signed-off-by: Heiko Stuebner <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Reviewed-by: Philipp Tomsich <[email protected]>
common/spl/spl.c
This page took 0.039498 seconds and 4 git commands to generate.