]> Git Repo - J-u-boot.git/commit
board/BuR: invalidate ${dtbaddr} before cfgscr
authorHannes Schmelzer <[email protected]>
Thu, 16 May 2019 15:24:19 +0000 (17:24 +0200)
committerTom Rini <[email protected]>
Tue, 28 May 2019 17:57:52 +0000 (13:57 -0400)
commit0ea4fc4dcf90ef0281ee413892ba3281de3f54c8
tree2bf8ba7f1d787a78fc201a2c7fc45d39a4e5fba5
parentd0cd30eb8137c0f14034aeb22c9f00cd70ccc98c
board/BuR: invalidate ${dtbaddr} before cfgscr

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]>
include/configs/brppt1.h
This page took 0.038427 seconds and 4 git commands to generate.