summaryrefslogtreecommitdiff
path: root/components/drivers/sdio
AgeCommit message (Collapse)Author
2023-08-23cleanup: fix building warningsgeniusgogo
2023-08-07update components & lwp. (#7888)geniusgogo
2023-08-03[components][drivers][sdio] Fix minor issue in sdio driver (#7904)Fan Yang
Signed-off-by: Fan YANG <[email protected]>
2023-08-01[sdio]开启emmc内部cache加快传输 (#7896)heyuanjie87
2023-04-17[HUST CSE] Fix many abnormal symbols in annotations and format code7YZ7
2023-04-11Update sd.cTrue-False-debug
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-01-23[devicedrivers] fix the partition issue in mmc/sdiobernard
2022-12-13[components] fix compiling warning (#6733)Bernard Xiong
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-11-08[sdio] remove mmcsd_delay_msxiao xie
修改SD检测线程函数里面的延时实现,将mmcsd_delay_ms改为rt_thread_mdelay. mmcsd_delay_ms过时且延时计算错误。
2022-11-02bugfix: remove sdcard block dev may cause a constant loop.xiaoguang_ma
2022-10-09bug fixxiaoguang_ma
When detecting all SDIO devices fails, it is also necessary to return information
2022-09-20[fix] Fix simulator compilation warnings (#6438)Tangyuxin
* [fix] Fix simulator compilation warnings * Update bsp/simulator/rtconfig_project.h Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-04-06[components][sdio] Support DDR modetyx
2021-12-31[components][sdio] fix compile warning and optimized code.nongxiaoming
2021-12-24Remove unused comment.Wayne Lin
2021-12-24Correct sem's name of sd block device.Wayne Lin
2021-12-24Strip tailing space.Wayne Lin
2021-12-24[SDIO] Create SD block device.Wayne Lin
1. New naming rule for multiple cards: sdXpY. Ex: sd0, sd0p0, sd0p1, sd1, sd1p0, sd1p1, .... sdXpY. 2. Always create super-node for backward-compatible and fdisk-like utility. EX: sd0, sd1, ..... sdX. 3. Shrink code.
2021-12-24Revert to RT_IPC_FLAG_PRIO.Wayne Lin
2021-12-24Support multi-partition/-card mounting.Wayne Lin
2021-12-24Fix infinite-loop in rt_mmcsd_blk_remove.Wayne Lin
1. Issue on traveling latest node in list if multi-partitions on card.
2021-11-17[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFOMeco Man
2021-08-01[sdio] remove rt_mmcsd_blk_initMeco Man
2021-07-09修改mmc初始化错误,将card-》csd写成card-》cid@lin12345678
2021-04-13Update mmc.cJianjia Ma
2021-04-13Add more trys when switching data widthJianjia Ma
Try a few times before switching to other data widths. The original strategy (simply wait for 20ms ) failed on STM32H743 with an MTFC4GACAJCN-4M (4GB EMMC) when switching data width. (unless the debugging info is enabled, which add more delays) With this EMMC, the fixed delay was set to 50ms for it to be able to work. Instead of a fixed delay, I think we better change to trying a few more times with smaller delays.
2021-03-08[compoenets] auto & manual formattedMeco Man
2021-02-05[sdio] free memory and enhance performancewanghaijing
2020-11-27Improve the clock Settings for switching to high speed mode in the SDIO ↵guozhanxin
framework.
2020-03-16component: sdio: fix potential ricky clock settingShawn Lin
Currently RTT mmc stack only support Highspeed mode or blow, which means the max speed should be 52MHz according to JEDEC spec. Two problems show here: (1) max_data_rate = (unsigned int)-1. The value of unsigned int depends on compilers/arch. Moreover, it makes no sense to assume cpu addressing width with IP clock rate limit. (1)hs_max_data_rate was set to 200MHz. So what should BSP drivers do if 52MHz < max_data_rate < 200MHz? Either it blindly sets a spec-violated clock rate to drive a Highspeed card, or just adjust the clock rate internally. Both cases are really bad for practice. If the card claims to support Highspeed, we set the clock to not to exceed 52MHz. Otherwise it should be set according to card->max_data_rate parsed by ext_csd. This patch fixes it as-is, and also simplify the code a lot. Signed-off-by: Shawn Lin <[email protected]>
2020-03-12[Components] sdio: try bus width depends on host's capabilityShawn Lin
It makes no sense to try bus width if not supported by drivers or BSP, since we know it must be failed. It saves a lot for booting in time critical environment. Signed-off-by: Shawn Lin <[email protected]>
2020-03-12[component] sdio: Fix mmc mount function if the whole device is a partitionShawn Lin
If the whole sd card was formatted as a partition, current code break out the loop mistakenly, so it skips dfs_mount_device later. Simply remove the broken 'break' to solve this problem. Signed-off-by: Shawn Lin <[email protected]>
2020-02-28fix raspi3-64 sdio driverbigmagic
2020-02-23Update sd.cA.orz
clean #if 0 code
2019-11-161.修复sd卡热插拔内存泄露的bughichard
2.dfs增加函数,配合实现sd卡热插拔自动挂载卸载文件系统
2019-09-03[components][drivers][sdio]修复 SDIO product 为空的问题tangyuxin
2019-07-19sdio: mmc.c: 修复缩进/Fix indentation.Zhou Yanjie
修复版权信息中的缩进格式。 Fix indentation in copyright information. Signed-off-by: Zhou Yanjie <[email protected]>
2019-07-19sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation ↵Zhou Yanjie
overflow. 修改“mmc_parse_ext_csd”函数,防止容量计算过程溢出。 Modify the "mmc_parse_ext_csd" function to prevent the capacity calculation process from overflowing. Signed-off-by: Zhou Yanjie <[email protected]>
2019-05-12[BSP][qemu-vexpress-a9] code cleaup for compiling warning.Bernard Xiong
2019-04-12Update all of debug log definition to DBG_TAG and DBG_LVL.armink
2019-03-06Remove the DBG_COLOR and DBG_ENABLE definition.armink
2018-12-13Fix the value width issue under 32/64 bit arch.Bernard Xiong
2018-11-02[components][DeviceDriver] Update log tag from [SDIO] to SDIO.armink
2018-10-14[license] Change license to Apache.Bernard Xiong
2018-10-12[Components][SDIO]修复脏值调用ZYH
2018-09-30[Components][SDIO]fix 'rocr' declared without an initial valueZYH
2018-09-22[Components][SDIO][MMC] fix null point checkZYH
2018-09-22[Components][SDIO]fix Null point accessZYH