diff options
author | Heiko Stuebner <heiko.stuebner@theobroma-systems.com> | 2020-05-25 19:57:25 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2020-05-31 22:22:07 +0800 |
commit | a343b4fe739a56ef248f01d96d80d080228b4068 (patch) | |
tree | 4f4d6392a2ae158c0d3fa73f07b9ed946457d105 /arch/arm/mach-sunxi/pmic_bus.c | |
parent | b6740fb116ebb02ecf6306e4a6234dcea03842e0 (diff) |
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 <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch/arm/mach-sunxi/pmic_bus.c')
0 files changed, 0 insertions, 0 deletions