[PATCH] arm: mach-k3: am62p: Fixup TF-A/OP-TEE reserved-memory node in FDT
Bryan Brattlof
bb at ti.com
Thu May 23 19:22:56 CEST 2024
On May 23, 2024 thus sayeth Bryan Brattlof:
> On May 23, 2024 thus sayeth Andrew Davis:
> > On 5/23/24 11:43 AM, Bryan Brattlof wrote:
> > > The address we load TFA and OPTEE is configurable by the
> > > CONFIG_K3_{ATF,OPTEE)_LOAD_ADDR, but the DT node reservations remain
> > > static which can cause some confusion about where exactly these firmware
> > > are exactly. Fix this by updating the reserved-memory{} nodes when the
> > > loaded address does not match the address in DT.
> > >
> > > Reported-by: Andrew Davis <afd at ti.com>
> > > Signed-off-by: Bryan Brattlof <bb at ti.com>
> > > ---
> > > Hello everyone,
> > >
> > > This is a little fixup to avoid any confusion once we're in the kernel.
> > > Because TF-A can be configured in U-Boot to be anywhere we want, we need
> > > up update the reserved-memory{} node with this change.
> > >
> > > Thanks for reviewing
> > > ~Bryan
> > > ---
> > > arch/arm/mach-k3/Makefile | 1 +
> > > arch/arm/mach-k3/am62p5_fdt.c | 16 ++++++++++++++++
> >
> > You'll want to rebase this on -next, these _fdt.c files all got moved
> > into directories for each SoC.
> >
>
> Ah! my bad, you're right this belongs in -next. v2 incoming momentarily
>
Wait no on second thought, this needs to be in v2024.07 also. I'll leave
this for Tom for -master and maybe send out another version for -next to
preempt the merge conflict for v2024.10?
~Bryan
More information about the U-Boot
mailing list