[sdio]开启emmc内部cache加快传输 (#7896)

This commit is contained in:
heyuanjie87
2023-08-01 14:48:50 +08:00
committed by GitHub
parent 43e0423b7b
commit a98b11747f
2 changed files with 18 additions and 1 deletions
@@ -127,7 +127,10 @@ struct rt_sdio_function {
#define SDIO_MAX_FUNCTIONS 7
struct rt_mmc_ext_csd
{
rt_uint32_t cache_size;
};
struct rt_mmcsd_card {
struct rt_mmcsd_host *host;
@@ -164,6 +167,8 @@ struct rt_mmcsd_card {
struct rt_sdio_cis cis; /* common tuple info */
struct rt_sdio_function *sdio_function[SDIO_MAX_FUNCTIONS + 1]; /* SDIO functions (devices) */
rt_list_t blk_devices; /* for block device list */
struct rt_mmc_ext_csd ext_csd;
};
#ifdef __cplusplus