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 e932629ed47c800060c8e6f9a4750cef3b87b21f
@Bastian Stender Bastian Stender authored on 15 Jul 2016
Markus Pargmann committed on 15 Jul 2016
Showing 1 changed file
View
src/libdt.c