]> git.dujemihanovic.xyz Git - u-boot.git/commit
do not pass NULL pointer to libfdt
authorStanislav Pinchuk <Stanislav.Pinchuk@kaspersky.com>
Wed, 20 Jan 2021 18:52:23 +0000 (21:52 +0300)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:42 +0000 (14:25 -0700)
commita00e0f7ae5a3058dc8dd520d1d449d4c8806e5f8
tree1f44f89f508c34a5fec8936b8f349978da28e6bf
parent43db07507abdb54b6575345300c171b0486e46be
do not pass NULL pointer to libfdt

Re-send because of line-wraps.

Without this patch, u-boot just hangs if the fdt pointer is
not initialized. The diagnostic subsystems are not yet initialized,
so all you get is a blind hang.

Signed-off-by: Stanislav.Pinchuk@kaspersky.com
include/dm/read.h