summaryrefslogtreecommitdiff
path: root/components/drivers/sdio
AgeCommit message (Collapse)Author
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
2018-09-22[Components][SDIO]block 'err' declared without an initial valueZYH
2018-09-22[Components][SDIO]fix Assigned value is garbage or undefinedZYH
2018-09-11Merge pull request #1774 from EvalZero/sdio_devBernard Xiong
[DeviceDriver][SDIO] Update sdio debug log.
2018-09-09[sdio] Fixed merge error.weety
2018-09-09[sdio] Fixed issue for requset size calculation.weety
2018-09-09[sdio] Fixed error for dma size calculation.weety
2018-09-08[sdio] Limit the data size per request based on the sdio controller driver ↵weety
configuration parameters.
2018-09-05[DeviceDriver][SDIO] Update sdio debug log.EvalZero
2018-07-21[components][drivers][sdio]修复没有注册SDIO中断导致断言的问题tangyuxin
2018-06-26[components][drivers]sdio 给局部指针变量赋初值,修复潜在问题tangyuxin
2018-06-10[Kernel] Add device ops feature.Bernard Xiong
2018-03-04[DeviceDrivers][MMC] rename fls to __rt_flsBernard Xiong
2017-12-24[DeviceDrivers] fix compiling warningBernard Xiong
2017-12-07[DeviceDrivers] Fix missing mailbox after SDCard hot plugtanek liang
2017-11-06[DeviceDrivers] Fix compiling issue in MMC/SD.Bernard Xiong
2017-11-05[DRIVER][SDIO] Add components initializer.weety
2017-10-20[bsp][dm365] Support rt_hw_console_output function; Adjust the ↵weety
initialization sequence; Cleanup code. [drv][mmcsd] Undo Changes.
2017-10-19[bsp][dm365] Using component initial;weety
[drv][mmcsd] Add component initial.
2017-10-15[DeviceDrivers] change cmd type.bernard
1. Change 'rt_uint8_t' type of cmd to 'int'; 2. Add waitqueue; 3. Split device ipc header files;
2017-07-04Update sdio.cruiqian
2017-07-04Update mmcsd_core.cruiqian
2017-06-06[DeviceDrivers] Improve compatibility for SDIO CCCR v3.00.bernard
2017-04-19Update sdio.cruiqian
2017-04-19Update sdio.cruiqian
Fix a bug in function sdio_unregister_driver
2016-05-20[DeviceDrivers] Add MMC/SD change support.Bernard Xiong
Add MMC/SD change support, which patched by FH.
2016-04-05[DeviceDrivers] Add umount operations in SDCard block device.Bernard Xiong
2016-04-05[DeviceDrivers] Add card remove operations in MMC/SD.Bernard Xiong
2016-03-01[DeviceDrivers] fix the compiling warning in MMC/SDBernard Xiong
2015-08-09[DeviceDrivers] fix sd->drv issue in sdioBernard Xiong