blspec: skip all devicetree tests if entry doesn't specify one
If the blspec entry does not specify a devicetree to test against,
it doesn't make any sense to check the compatible of the machine or
find the root node.

Instead of first testing the barebox devicetree check if the entry
specifies one.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
1 parent b00a9d7 commit 8f9f81086fcf9cd91edcad427c0bc8aa7a8b35f4
@Steffen Trumtrar Steffen Trumtrar authored on 10 Jul 2017
Lucas Stach committed on 11 Jul 2017
Showing 1 changed file
View
common/blspec.c