On Thu, May 16, 2019 at 05:24:19PM +0200, Hannes Schmelzer wrote: > From: Hannes Schmelzer <[email protected]> > > The first memory location of ${dtbaddr} may be still valid after a warm > restart of the machine and 'fdt addr ${dtbaddr}' doesn't recognize that > the cfgscript didn't run properly and fallback mechanism with copying > the internal fdt ${fdtcontroladdr} to ${dtbaddr} doesn't catch this. > > To get sure that we have proper failsafe behaviour we simply zero the > first memory location of ${dtbaddr} for getting sure that the fdt is > invalid if cfgscript didn't run. > > Signed-off-by: Hannes Schmelzer <[email protected]> > > Signed-off-by: Hannes Schmelzer <[email protected]>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

