libdt: add block devicepath extraction
This allows barebox state to find the backend node on block
devices.

This is a reworked version of the patch. The outdated patch
did not specify the parent correctly resulting in an
incorrect subtree. This lead to the wrong block device
being returned.

Signed-off-by: Bastian Stender <bst@pengutronix.de>
1 parent b8d0b6f commit d83976b8163d8e6e0a124b304cb8867294812ec1
@Bastian Stender Bastian Stender authored on 15 Jul 2016
Markus Pargmann committed on 22 Jul 2016
Showing 1 changed file
View
src/libdt.c