diff options
| author | Wayne Lin <[email protected]> | 2021-11-29 14:48:56 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2021-12-24 05:36:12 +0800 |
| commit | 7e6ffd3447ef8581d6bebe481a46a78451775e6e (patch) | |
| tree | dddda623c508ebf3ca7f6fd13388940d8e6e771e /components/drivers/include | |
| parent | c84952d9cdaf15606f85a73c585d5c10345f8378 (diff) | |
Support multi-partition/-card mounting.
Diffstat (limited to 'components/drivers/include')
| -rw-r--r-- | components/drivers/include/drivers/mmcsd_card.h | 2 | ||||
| -rw-r--r-- | components/drivers/include/drivers/mmcsd_host.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/components/drivers/include/drivers/mmcsd_card.h b/components/drivers/include/drivers/mmcsd_card.h index 511cc1167d..8a49978a17 100644 --- a/components/drivers/include/drivers/mmcsd_card.h +++ b/components/drivers/include/drivers/mmcsd_card.h @@ -161,7 +161,7 @@ struct rt_mmcsd_card { struct rt_sdio_cccr cccr; /* common card info */ 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 */ }; #ifdef __cplusplus diff --git a/components/drivers/include/drivers/mmcsd_host.h b/components/drivers/include/drivers/mmcsd_host.h index c7f673aeb1..68e38c38ab 100644 --- a/components/drivers/include/drivers/mmcsd_host.h +++ b/components/drivers/include/drivers/mmcsd_host.h @@ -96,6 +96,8 @@ struct rt_mmcsd_host { rt_uint32_t max_blk_size; /* maximum block size */ rt_uint32_t max_blk_count; /* maximum block count */ + rt_uint32_t id; /* Assigned host id */ + rt_uint32_t spi_use_crc; struct rt_mutex bus_lock; struct rt_semaphore sem_ack; |
