commit | 9578dd856a72b0412fa65480d8e3c76a52a6cba1 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 12 08:27:45 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 13 18:39:05 2023 -0500 |
tree | 8140d4fdb34a26ae9bc091a84f11cbae2a7b4f85 | |
parent | 1de1a0348755ad5e57790a39059eceeb8e8aba42 [diff] |
fdt: Check for a valid fdt in oftree_ensure() Check the header before starting to use it, since this could provide very confusing later, when ofnode calls start to fail. Signed-off-by: Simon Glass <sjg@chromium.org>