common: oftree: Pass bootsource and bootsource instance to kernel
Pass barebox-detected bootsource to Linux to make it availible to
Linux userspace. That information is passed as full path to the node
corresponding to the bootsource and is placed under /chosen/bootsource
and it can be read under Linux in

/sys/firmware/devicetree/base/chosen/bootsource

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bb64685 commit 89677d11e714464d430f9dc09a21fb349d3fb931
@Andrey Smirnov Andrey Smirnov authored on 17 May 2018
Sascha Hauer committed on 18 May 2018
Showing 1 changed file
View
common/oftree.c