]> Git Repo - J-u-boot.git/commit
board: stm32mp1: use FDT address provided by TF-A at boot time
authorPatrick Delaunay <[email protected]>
Wed, 18 Mar 2020 08:22:50 +0000 (09:22 +0100)
committerPatrick Delaunay <[email protected]>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commit4ac345220afae86956b93000350edc9ae1930e23
tree74159a96eb1be78a322fed69bb949efea802b802
parent43df0a159df6ef4c627553915634cd3d961d4da8
board: stm32mp1: use FDT address provided by TF-A at boot time

Save and use the FDT address provided by TF-A in r2 at boot time
(it is NT_FW_CONFIG = Non Trusted Firmware configuration file)

Address is saved in save_boot_params(), called by start.S
and the used DTB is gd->fdt_blob = board_fdt_blob_setup().

If dtb is not provided or invalid, U-Boot use as fallback
the builtin DTB.

Signed-off-by: Patrick Delaunay <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
arch/arm/mach-stm32mp/Makefile
arch/arm/mach-stm32mp/boot_params.c [new file with mode: 0644]
This page took 0.038179 seconds and 4 git commands to generate.