diff options
author | Hannes Schmelzer <hannes.schmelzer@br-automation.com> | 2019-05-16 17:24:19 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-28 13:57:52 -0400 |
commit | 0ea4fc4dcf90ef0281ee413892ba3281de3f54c8 (patch) | |
tree | 2bf8ba7f1d787a78fc201a2c7fc45d39a4e5fba5 /configs/calimain_defconfig | |
parent | d0cd30eb8137c0f14034aeb22c9f00cd70ccc98c (diff) |
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 <hannes.schmelzer@br-automation.com>
Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Diffstat (limited to 'configs/calimain_defconfig')
0 files changed, 0 insertions, 0 deletions