]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: am62a: Fixup TF-A/OP-TEE reserved-memory node in FDT
authorAndrew Davis <afd@ti.com>
Wed, 14 Feb 2024 16:30:08 +0000 (10:30 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 6 Mar 2024 14:09:00 +0000 (09:09 -0500)
commit69a5085219b121a93913f9b0e42436444d5f65fc
treed3f954b8510b7568d04aeb911dab296945c93731
parent8b0fc29de0e3b820731052a031a97dc8fc5411ce
arm: mach-k3: am62a: Fixup TF-A/OP-TEE reserved-memory node in FDT

The address we load TFA and OP-TEE to is configurable by
CONFIG_K3_{ATF,OPTEE}_LOAD_ADDR, but the DT nodes reserving this memory
are static. Fix that by updating this node when the loaded address
does not match the address in DT.

Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Bryan Brattlof <bb@ti.com>
arch/arm/mach-k3/Makefile
arch/arm/mach-k3/am62a7_fdt.c [new file with mode: 0644]
arch/arm/mach-k3/am62ax/Kconfig