]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: allow calling optee_get_reserved_memory() from U-Boot
authorSughosh Ganu <sughosh.ganu@linaro.org>
Mon, 26 Aug 2024 11:59:38 +0000 (17:29 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 3 Sep 2024 20:08:50 +0000 (14:08 -0600)
commit5fe9e0deabb1067eb6b1949b6eb4d895ab86c426
tree75cff7ddfc5f3be1f91c8b40b6dc4e9adf5eb1df
parentcef34baad10c27cb089c4ab2c61689513467ab82
stm32mp: allow calling optee_get_reserved_memory() from U-Boot

The optee_get_reserved_memory() function returns the OP-TEE base
address and size. The function gets these values from the
FDT. Currently, this function is defined only to be called in the SPL
phase. Move this function to a place where it can be invoked from the
main U-Boot phase, where it will be used to compute the ram_top
address.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
arch/arm/mach-stm32mp/dram_init.c
arch/arm/mach-stm32mp/include/mach/stm32mp.h [new file with mode: 0644]
arch/arm/mach-stm32mp/stm32mp1/spl.c