aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorTom Rini2022-10-28 20:27:05 -0400
committerTom Rini2022-11-10 10:08:55 -0500
commit75fc79e530eb01428ba4064b2693214efdfb2ee2 (patch)
tree13f0826314c5140f0d6aeecf04664b3e184e2686 /drivers/mmc
parenta918df21f09739e4d0f91937b88f3804696a0f41 (diff)
Convert CONFIG_SYS_MMC_MAX_BLK_COUNT to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MMC_MAX_BLK_COUNT Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 56f42820c74..bf4d994ff69 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -93,6 +93,13 @@ config MMC_QUIRKS
are enabled by default, other may require additional flags or are
enabled by the host driver.
+config SYS_MMC_MAX_BLK_COUNT
+ int "Block count limit"
+ default 65535
+ help
+ The block count limit on MMC based devices. We default to 65535 due
+ to a 16bit register limit on some hardware.
+
config MMC_HW_PARTITIONING
bool "Support for HW partitioning command(eMMC)"
default y