提交 9c804a28 编写于 作者: L luohui2320@gmail.com

update SDIO driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2027 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 7f98c2e5
......@@ -622,6 +622,11 @@ struct rt_mmcsd_host *mmcsd_alloc_host(void)
rt_memset(host, 0, sizeof(struct rt_mmcsd_host));
host->max_seg_size = 65535;
host->max_dma_segs = 1;
host->max_blk_size = 512;
host->max_blk_count = 4096;
rt_sem_init(&host->bus_lock, "sd_bus_lock", 1, RT_IPC_FLAG_FIFO);
rt_sem_init(&host->sem_ack, "sd_ack", 0, RT_IPC_FLAG_FIFO);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册