diff options
author | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2020-06-19 11:22:18 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-07 09:45:07 -0400 |
commit | 53007fc1eb892cd67af97c545eb3461020cc3885 (patch) | |
tree | ed50b506eb38e727a905aed6aebc7098c0dd5242 /arch/arm/dts/rk3368-px5-evb.dts | |
parent | 23da3c682a84a2ad67a67287979dd4f5259ff607 (diff) |
common/board_f: Respect original FDT size while relocating
While relocating FDT we reserve some memory for the new FDT and
set the size of the FDT with that respect. But FDT may be placed
at the end of the RAM leading to memory access beyond it.
Fix this by copying exact FDT size bytes, not the reserved size.
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/rk3368-px5-evb.dts')
0 files changed, 0 insertions, 0 deletions