blspec: Allow to boot partitions
Instead of only allowing complete devices we now also allow single
partitions to look for bootloader spec entries.

Normally the bootloader spec defines a way to find a partition containing /boot
on a device.  On embedded systems it's often useful instead to have only a
single partition image which contains both the kernel and the root filesystems.
This partition image may be written to the device multiple times. With this
patch they can be booted with 'boot emmc0.<partno>'

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a58d8ba commit 6b12fb727ecbfce6ab4c9151ce69d4d276d4217d
@Sascha Hauer Sascha Hauer authored on 31 Oct 2013
Showing 1 changed file
View
common/blspec.c