bootm: Return error when devicetree file is not a dtb
We check whether the file passed as devicetree actually is a devicetree,
but we missed to return an error if it's not. Fix this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4f2f915 commit b069d6b876064b8eca973882157f172a9ccefcab
@Sascha Hauer Sascha Hauer authored on 13 Feb 2014
Showing 1 changed file
View
common/bootm.c