fdt: Skip checking FDT if the pointer is NULL
authorSimon Glass <sjg@chromium.org>
Sat, 20 Apr 2013 08:42:46 +0000 (08:42 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 15:17:21 +0000 (11:17 -0400)
commitc309c2da147c2f166132341d578a41d3d9132966
tree6607da92ae32bb036da36b5a71ad14433d0eecab
parenta92fd6577ea17751ead9b50243e3c562125cf581
fdt: Skip checking FDT if the pointer is NULL

If we have no FDT, don't attempt to read from it. This allows sandbox to
run without an FDT if required.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c