[PATCH] board: ea: mx7ulp_com: allocate specific region of memory to OP-TEE
Tom Rini
trini at konsulko.com
Wed Aug 25 15:46:54 CEST 2021
On Wed, Aug 25, 2021 at 04:22:55PM +0300, Oleksandr Suvorov wrote:
> From: Ricardo Salveti <ricardo at foundries.io>
>
> On the iMX7ULP uCOM board, OP-TEE uses the memory region defined by the
> maximum DRAM address minus CONFIG_OPTEE_TZDRAM_SIZE, so subtract
> CONFIG_OPTEE_TZDRAM_SIZE from the available DRAM size to avoid
> conflicts.
>
> Note the OPTEE boot process itself subtracts the DRAM region it
> lives in from the memory map passed to Linux.
Is this something true of all OP-TEE? All OP-TEE on ARMv7? All OP-TEE
on i.MX7? I'm asking since currently this hook is done the exact same
way on a few other i.MX7 boards, and nowhere else. That says to me we
should probably move this hook up somewhere, perhaps to imx_ddr_size()
and poke the boards that aren't using that today to use it.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210825/20fd747e/attachment.sig>
More information about the U-Boot
mailing list