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>
This commit is contained in:
Tom Rini 2022-10-28 20:27:05 -04:00
parent a918df21f0
commit 75fc79e530
38 changed files with 36 additions and 26 deletions

View File

@ -29,6 +29,7 @@ CONFIG_ENV_IS_IN_EXT4=y
CONFIG_ENV_EXT4_INTERFACE="mmc" CONFIG_ENV_EXT4_INTERFACE="mmc"
CONFIG_ENV_EXT4_DEVICE_AND_PART="0:2" CONFIG_ENV_EXT4_DEVICE_AND_PART="0:2"
CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=1024
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MMC_DW_K3=y CONFIG_MMC_DW_K3=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y

View File

@ -83,6 +83,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_TFTP_TSIZE=y CONFIG_TFTP_TSIZE=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_MISC=y CONFIG_MISC=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=8192
CONFIG_SUPPORT_EMMC_RPMB=y CONFIG_SUPPORT_EMMC_RPMB=y
CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_MMC_HS400_SUPPORT=y CONFIG_MMC_HS400_SUPPORT=y

View File

@ -89,6 +89,7 @@ CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
CONFIG_I2C_MUX=y CONFIG_I2C_MUX=y
CONFIG_I2C_MUX_PCA954x=y CONFIG_I2C_MUX_PCA954x=y
CONFIG_MISC=y CONFIG_MISC=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=8192
CONFIG_SUPPORT_EMMC_RPMB=y CONFIG_SUPPORT_EMMC_RPMB=y
CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_MMC_HS400_SUPPORT=y CONFIG_MMC_HS400_SUPPORT=y

View File

@ -87,6 +87,7 @@ CONFIG_LBA48=y
CONFIG_SYS_64BIT_LBA=y CONFIG_SYS_64BIT_LBA=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_MISC=y CONFIG_MISC=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=8192
CONFIG_SUPPORT_EMMC_RPMB=y CONFIG_SUPPORT_EMMC_RPMB=y
CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_MMC_OCTEONTX=y CONFIG_MMC_OCTEONTX=y

View File

@ -84,6 +84,7 @@ CONFIG_LBA48=y
CONFIG_SYS_64BIT_LBA=y CONFIG_SYS_64BIT_LBA=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_MISC=y CONFIG_MISC=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=8192
CONFIG_SUPPORT_EMMC_RPMB=y CONFIG_SUPPORT_EMMC_RPMB=y
CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_MMC_OCTEONTX=y CONFIG_MMC_OCTEONTX=y

View File

@ -71,6 +71,7 @@ CONFIG_SPL_ALTERA_SDRAM=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SF_DEFAULT_MODE=0x2003 CONFIG_SF_DEFAULT_MODE=0x2003

View File

@ -65,6 +65,7 @@ CONFIG_SPL_ALTERA_SDRAM=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_SF_DEFAULT_MODE=0x2003 CONFIG_SF_DEFAULT_MODE=0x2003
CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_SPANSION=y

View File

@ -72,6 +72,7 @@ CONFIG_SPL_ALTERA_SDRAM=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SF_DEFAULT_MODE=0x2003 CONFIG_SF_DEFAULT_MODE=0x2003

View File

@ -55,6 +55,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_FS_LOADER=y CONFIG_FS_LOADER=y
CONFIG_SPL_FS_LOADER=y CONFIG_SPL_FS_LOADER=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_PHY_MICREL=y CONFIG_PHY_MICREL=y

View File

@ -54,6 +54,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_SPANSION=y

View File

@ -54,6 +54,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_MACRONIX=y

View File

@ -63,6 +63,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_MTD=y CONFIG_SPI_FLASH_MTD=y

View File

@ -54,6 +54,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_MTD=y CONFIG_SPI_FLASH_MTD=y

View File

@ -51,6 +51,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_MTD=y CONFIG_SPI_FLASH_MTD=y

View File

@ -51,6 +51,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_MTD=y CONFIG_SPI_FLASH_MTD=y

View File

@ -48,6 +48,7 @@ CONFIG_VERSION_VARIABLE=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_PHY_MICREL=y CONFIG_PHY_MICREL=y

View File

@ -54,6 +54,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_MTD=y CONFIG_SPI_FLASH_MTD=y

View File

@ -70,6 +70,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SF_DEFAULT_MODE=0x2003 CONFIG_SF_DEFAULT_MODE=0x2003

View File

@ -62,6 +62,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_SF_DEFAULT_MODE=0x2003 CONFIG_SF_DEFAULT_MODE=0x2003
CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_SPANSION=y

View File

@ -71,6 +71,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SF_DEFAULT_MODE=0x2003 CONFIG_SF_DEFAULT_MODE=0x2003

View File

@ -83,6 +83,7 @@ CONFIG_DM_I2C_GPIO=y
CONFIG_MISC=y CONFIG_MISC=y
CONFIG_I2C_EEPROM=y CONFIG_I2C_EEPROM=y
CONFIG_SYS_I2C_EEPROM_ADDR=0x50 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_DM_MTD=y CONFIG_DM_MTD=y

View File

@ -54,6 +54,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_MACRONIX=y

View File

@ -54,6 +54,7 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_MACRONIX=y

View File

@ -61,6 +61,7 @@ CONFIG_SYS_BOOTCOUNT_BE=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SF_DEFAULT_SPEED=100000000 CONFIG_SF_DEFAULT_SPEED=100000000

View File

@ -72,6 +72,7 @@ CONFIG_SPL_ALTERA_SDRAM=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SF_DEFAULT_MODE=0x2003 CONFIG_SF_DEFAULT_MODE=0x2003

View File

@ -69,6 +69,7 @@ CONFIG_SPL_ALTERA_SDRAM=y
CONFIG_DWAPB_GPIO=y CONFIG_DWAPB_GPIO=y
CONFIG_DM_I2C=y CONFIG_DM_I2C=y
CONFIG_SYS_I2C_DW=y CONFIG_SYS_I2C_DW=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SF_DEFAULT_MODE=0x2003 CONFIG_SF_DEFAULT_MODE=0x2003

View File

@ -88,6 +88,7 @@ CONFIG_LED_STATUS_CMD=y
CONFIG_MISC=y CONFIG_MISC=y
CONFIG_I2C_EEPROM=y CONFIG_I2C_EEPROM=y
CONFIG_SYS_I2C_EEPROM_ADDR=0x50 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
CONFIG_SYS_MMC_MAX_BLK_COUNT=256
CONFIG_MMC_DW=y CONFIG_MMC_DW=y
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_SF_DEFAULT_SPEED=40000000 CONFIG_SF_DEFAULT_SPEED=40000000

View File

@ -48,6 +48,7 @@ CONFIG_OF_CONTROL=y
CONFIG_CLK=y CONFIG_CLK=y
# CONFIG_MMC_WRITE is not set # CONFIG_MMC_WRITE is not set
CONFIG_ARM_PL180_MMCI=y CONFIG_ARM_PL180_MMCI=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=127
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_MTD_NOR_FLASH=y CONFIG_MTD_NOR_FLASH=y
CONFIG_FLASH_CFI_DRIVER=y CONFIG_FLASH_CFI_DRIVER=y

View File

@ -39,6 +39,7 @@ CONFIG_ENV_OVERWRITE=y
CONFIG_ENV_IS_IN_FLASH=y CONFIG_ENV_IS_IN_FLASH=y
CONFIG_CLK=y CONFIG_CLK=y
CONFIG_ARM_PL180_MMCI=y CONFIG_ARM_PL180_MMCI=y
CONFIG_SYS_MMC_MAX_BLK_COUNT=127
CONFIG_MTD=y CONFIG_MTD=y
CONFIG_DM_MTD=y CONFIG_DM_MTD=y
CONFIG_MTD_NOR_FLASH=y CONFIG_MTD_NOR_FLASH=y

View File

@ -93,6 +93,13 @@ config MMC_QUIRKS
are enabled by default, other may require additional flags or are are enabled by default, other may require additional flags or are
enabled by the host driver. 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 config MMC_HW_PARTITIONING
bool "Support for HW partitioning command(eMMC)" bool "Support for HW partitioning command(eMMC)"
default y default y

View File

@ -39,6 +39,5 @@
BOOTENV BOOTENV
/* TODO: Remove this once the SD clock is fixed */ /* TODO: Remove this once the SD clock is fixed */
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 1024
#endif /* __HIKEY_H */ #endif /* __HIKEY_H */

View File

@ -19,8 +19,6 @@
"loadaddr=20080000\0" \ "loadaddr=20080000\0" \
"ethrotate=yes\0" "ethrotate=yes\0"
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 8192
#if defined(CONFIG_MMC_OCTEONTX) #if defined(CONFIG_MMC_OCTEONTX)
#define MMC_SUPPORTS_TUNING #define MMC_SUPPORTS_TUNING
/** EMMC specific defines */ /** EMMC specific defines */

View File

@ -42,8 +42,6 @@
/** Heap size for U-Boot */ /** Heap size for U-Boot */
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 8192
/** EMMC specific defines */ /** EMMC specific defines */
#endif /* __OCTEONTX_COMMON_H__ */ #endif /* __OCTEONTX_COMMON_H__ */

View File

@ -67,15 +67,6 @@
*/ */
#define CONFIG_DW_WDT_CLOCK_KHZ 25000 #define CONFIG_DW_WDT_CLOCK_KHZ 25000
/*
* MMC Driver
*/
#ifdef CONFIG_CMD_MMC
/* FIXME */
/* using smaller max blk cnt to avoid flooding the limited stack we have */
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 256 /* FIXME -- SPL only? */
#endif
/* /*
* NAND Support * NAND Support
*/ */

View File

@ -81,9 +81,6 @@
/* /*
* SDMMC configurations * SDMMC configurations
*/ */
#ifdef CONFIG_CMD_MMC
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 256
#endif
/* /*
* Flash configurations * Flash configurations
*/ */

View File

@ -28,8 +28,6 @@
#define PHYS_SDRAM_2 0x8080000000 #define PHYS_SDRAM_2 0x8080000000
#define PHYS_SDRAM_2_SIZE 0x180000000 #define PHYS_SDRAM_2_SIZE 0x180000000
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
#define CONFIG_EXTRA_ENV_SETTINGS \ #define CONFIG_EXTRA_ENV_SETTINGS \
"bootm_size=0x20000000\0" \ "bootm_size=0x20000000\0" \
"load_addr=0xa0000000\0" \ "load_addr=0xa0000000\0" \

View File

@ -124,8 +124,6 @@
#define CONFIG_SYS_SERIAL0 V2M_UART0 #define CONFIG_SYS_SERIAL0 V2M_UART0
#define CONFIG_SYS_SERIAL1 V2M_UART1 #define CONFIG_SYS_SERIAL1 V2M_UART1
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
/* Miscellaneous configurable options */ /* Miscellaneous configurable options */
#define LINUX_BOOT_PARAM_ADDR (V2M_BASE + 0x2000) #define LINUX_BOOT_PARAM_ADDR (V2M_BASE + 0x2000)

View File

@ -952,11 +952,6 @@ int mmc_get_env_dev(void);
/* Minimum partition switch timeout in units of 10-milliseconds */ /* Minimum partition switch timeout in units of 10-milliseconds */
#define MMC_MIN_PART_SWITCH_TIME 30 /* 300 ms */ #define MMC_MIN_PART_SWITCH_TIME 30 /* 300 ms */
/* Set block count limit because of 16 bit register limit on some hardware*/
#ifndef CONFIG_SYS_MMC_MAX_BLK_COUNT
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 65535
#endif
/** /**
* mmc_get_blk_desc() - Get the block descriptor for an MMC device * mmc_get_blk_desc() - Get the block descriptor for an MMC device
* *