image-fdt: boot_get_fdt() return value when no DTB exists
authorNoam Camus <noamc@ezchip.com>
Wed, 22 Oct 2014 14:17:49 +0000 (17:17 +0300)
committerTom Rini <trini@ti.com>
Fri, 7 Nov 2014 21:27:05 +0000 (16:27 -0500)
commitc6150aaf2f2745141a7c2ceded58d7efbfeace7d
tree56018dece530adf195599e574cdaa23fd5f96c7f
parent8086988fe87c4d66b64f24a14e66f82dac2ca599
image-fdt: boot_get_fdt() return value when no DTB exists

I believe that when no DTB is around we should return 1.
This why I fixed such scenarious to not return zero anymore.
Else kernel might get NULL pointer to DTB which doesn't exists.

Signed-off-by: Noam Camus <noamc@ezchip.com>
common/image-fdt.c