commit | 7e87afbac59511090a7e4d3e0a6862f4a3de1c0e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 21 16:08:21 2022 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Jan 18 11:49:13 2023 -0700 |
tree | db3e536d874bf16a81b118f7980cbbe31920708e | |
parent | 2c62a9491472e4facbf9e1663901421567ce9514 [diff] |
fdt: Check for overlapping data and FDT If the FDT overlaps with the data region of the image, or with the stack, it can become corrupted before relocation. Add a check for this, behind a debug flag, as it can be very confusing and time-consuming to debug. Signed-off-by: Simon Glass <sjg@chromium.org>