mci: Add support for MMC boot partitions
Some MMC cards support boot partitions. These are special regions
on the MMC card intended to put a bootloader on.

This patch adds support for these partitions, they are accessible
as /dev/diskx.boot[0|1].

Additionally the partitions can be configured bootable using a
device parameter. This can be used to mark the user area or one
of the boot partitions as bootable.

Since this feature is mostly seen on eMMC cards it is made optional
to lower the size impact for boards which do not have eMMC.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 93b1578 commit 4a4f2f20b8873224983ab9b78173f9bc0564fa33
@Sascha Hauer Sascha Hauer authored on 22 May 2013
Showing 3 changed files
View
drivers/mci/Kconfig
View
drivers/mci/mci-core.c
View
include/mci.h