[PATCH v4 13/20] spl: imx: use trampoline buffer to load images to secure region
Marek Vasut
marex at denx.de
Fri Jan 24 15:42:12 CET 2025
On 1/15/25 2:29 PM, Alice Guo wrote:
> From: Ye Li <ye.li at nxp.com>
>
> When SPL loading image to secure region, for example, ATF and tee to
> DDR secure region. Because the USDHC controller is non-secure master,
> it can't access this region and will cause loading issue.
>
> So use a trampoline buffer in non-secure region, then use CPU to copy the
> image from trampoline buffer to destination secure region.
There is already common/bouncebuf.c , can you instead implement
something similar, which would behave as a generic bounce buffer, except
for the secure/nonsecure regions ?
The region configuration could come from DT or maybe from firmware ?
More information about the U-Boot
mailing list