commit | f4c8cf21cc389c602f8fc487bc9d900deb491691 | [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 | 30762dd56a6e2b74ee06537f5827e8366f88b681 [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>