diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2020-09-09 13:01:18 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-14 20:02:13 +0200 |
commit | f206a2b72315b974523e80cf2ce8142b8bcc1820 (patch) | |
tree | 79a36935b7e5e0440d8589a7667dc8a9d2b9bc71 /drivers/mci/Kconfig | |
parent | 6fd741b3e77f4dcc051ecd989ae00bfcfbaa74ad (diff) | |
download | barebox-f206a2b72315b974523e80cf2ce8142b8bcc1820.tar.gz barebox-f206a2b72315b974523e80cf2ce8142b8bcc1820.tar.xz |
mci: mci-core: add GPP support
General Purpose Partitions (GPP) are hardware partitions like the boot
partitions. And like the boot partitions they are limited to MMCs only.
Most applications running an eMMC do not use GPPs, so this feature can be
disabled.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/Kconfig')
-rw-r--r-- | drivers/mci/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig index 996d8ff122..4d7f5beb42 100644 --- a/drivers/mci/Kconfig +++ b/drivers/mci/Kconfig @@ -42,6 +42,19 @@ config MCI_MMC_BOOT_PARTITIONS Note: only 'MMC' have 'boot partitions'. So, if you don't use an 'MMC' device, you don't need this support. +config MCI_MMC_GPP_PARTITIONS + bool "support MMC general purpose partitions (GPP)" + help + Provide access to the 'general purpose partitions' of devices of type + 'MMC'. These so called 'hardware partitions' act like an independent + memory device and thus, need special handling. + + Note: only 'MMC' devices have 'general purpose partitions'. So, if + you don't use an 'MMC' device, you don't need this support. + + Note: by default, 'MMC' devices have no 'general purpose partitions', + it requires a special one-time configuration step to enable them. + comment "--- MCI host drivers ---" config MCI_DW |