blspec: Automatically attach UBI devices
When blspec_scan_cdev finds an UBI device then attach it. This
allows us to boot blspec entries found on the UBIFS images inside
UBI volumes by pointing to the corresponding mtd partition.
With this we can do 'boot nand0.root' or even 'boot=nand0' on the
commandline.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent cc3927d commit 5e55dec814ed3b65888866b893d939c0a502c99a
@Sascha Hauer Sascha Hauer authored on 16 Jun 2015
Showing 1 changed file
View
common/blspec.c