Commit Graph

114 Commits

Author SHA1 Message Date
Zhou Yanjie 976ea24112 sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation 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 <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Bernard Xiong ec6cb9f260 [BSP][qemu-vexpress-a9] code cleaup for compiling warning. 2019-05-12 15:07:26 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
Bernard Xiong 1f37de29c4 Fix the value width issue under 32/64 bit arch. 2018-12-13 14:54:26 +08:00
armink 5a70247898 [components][DeviceDriver] Update log tag from [SDIO] to SDIO. 2018-11-02 10:15:29 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
ZYH e00364c5e4 [Components][SDIO]修复脏值调用 2018-10-12 11:22:05 +08:00
ZYH 2e74539130 [Components][SDIO]fix 'rocr' declared without an initial value 2018-09-30 11:01:06 +08:00
ZYH 780f538525 [Components][SDIO][MMC] fix null point check 2018-09-22 15:02:48 +08:00
ZYH 3d69c44ab8 [Components][SDIO]fix Null point access 2018-09-22 14:56:55 +08:00
ZYH f6be7abb2d [Components][SDIO]block 'err' declared without an initial value 2018-09-22 14:53:08 +08:00
ZYH f260f7effd [Components][SDIO]fix Assigned value is garbage or undefined 2018-09-22 14:49:47 +08:00
Bernard Xiong 8c2448a4d4
Merge pull request #1774 from EvalZero/sdio_dev
[DeviceDriver][SDIO] Update sdio debug log.
2018-09-11 19:03:10 +08:00
weety 799c5e4ea2 [sdio] Fixed merge error. 2018-09-09 22:07:06 +08:00
weety e19cfd4571 [sdio] Fixed issue for requset size calculation. 2018-09-09 21:20:08 +08:00
weety 02a2b78943 [sdio] Fixed error for dma size calculation. 2018-09-09 14:05:45 +08:00
weety 618e185cd3 [sdio] Limit the data size per request based on the sdio controller driver configuration parameters. 2018-09-08 23:21:13 +08:00
EvalZero 2c01189114 [DeviceDriver][SDIO] Update sdio debug log. 2018-09-05 14:50:43 +08:00
tangyuxin 78189dfb6b [components][drivers][sdio]修复没有注册SDIO中断导致断言的问题 2018-07-21 16:29:17 +08:00
tangyuxin f850a2dd33 [components][drivers]sdio 给局部指针变量赋初值,修复潜在问题 2018-06-26 11:09:13 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +08:00
Bernard Xiong ba2b1f0e56 [DeviceDrivers][MMC] rename fls to __rt_fls 2018-03-04 17:25:59 +08:00
Bernard Xiong f746c6e556 [DeviceDrivers] fix compiling warning 2017-12-24 00:06:29 +08:00
tanek liang d8bc33d70b [DeviceDrivers] Fix missing mailbox after SDCard hot plug 2017-12-07 14:44:16 +08:00
Bernard Xiong 6ccebe19d5 [DeviceDrivers] Fix compiling issue in MMC/SD. 2017-11-06 20:11:25 +08:00
weety e4dd86a1b7 [DRIVER][SDIO] Add components initializer. 2017-11-05 21:41:43 +08:00
weety 5150e19d4b [bsp][dm365] Support rt_hw_console_output function; Adjust the initialization sequence; Cleanup code.
[drv][mmcsd] Undo Changes.
2017-10-20 11:19:03 +08:00
weety dd5ac17fc8 [bsp][dm365] Using component initial;
[drv][mmcsd] Add component initial.
2017-10-19 19:14:06 +08:00
bernard d7087fdd3b [DeviceDrivers] change cmd type.
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
2017-10-15 22:56:46 +08:00
ruiqian 465fdfc2ff Update sdio.c 2017-07-04 00:50:48 +08:00
ruiqian 0a798b33a5 Update mmcsd_core.c 2017-07-04 00:50:25 +08:00
bernard c1926d3af7 [DeviceDrivers] Improve compatibility for SDIO CCCR v3.00. 2017-06-06 18:18:03 +08:00
ruiqian f136f8895a Update sdio.c 2017-04-19 20:03:11 +08:00
ruiqian 24185f4721 Update sdio.c
Fix a bug in function sdio_unregister_driver
2017-04-19 19:43:40 +08:00
Bernard Xiong 02a5cebc6d [DeviceDrivers] Add MMC/SD change support.
Add MMC/SD change support, which patched by FH.
2016-05-20 12:20:35 +08:00
Bernard Xiong 048ffb481a [DeviceDrivers] Add umount operations in SDCard block device. 2016-04-05 11:11:10 +08:00
Bernard Xiong 3748008651 [DeviceDrivers] Add card remove operations in MMC/SD. 2016-04-05 11:01:49 +08:00
Bernard Xiong eefd87284c [DeviceDrivers] fix the compiling warning in MMC/SD 2016-03-01 10:55:16 +08:00
Bernard Xiong e029f14b46 [DeviceDrivers] fix sd->drv issue in sdio 2015-08-09 11:23:16 +08:00
weety 28f2fbd4cc 1.Fixed sdmmc cmd retries issue; 2015-06-22 21:28:42 +08:00
weety 41597e8793 Add mmc and emmc drivers. 2015-06-20 23:23:32 +08:00
yiyue.fang 621fbdb90c Embedded GPLv2 license in drivers 2013-06-28 00:36:54 +08:00
weety 624d947e56 use __rt_ffs instead of ffs 2013-05-25 18:57:01 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
luohui2320@gmail.com d5a0362bb4 update sdio framwork
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2261 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-26 11:39:14 +00:00
luohui2320@gmail.com 7729b4a1e4 move SDIO driver header files to the drivers/include directory and update rtdevice.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2209 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-08 14:43:08 +00:00
luohui2320@gmail.com 06d45f0c42 use rt_list in rtservice.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2091 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-17 15:18:50 +00:00
luohui2320@gmail.com a8f967f26a fix compiling warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2052 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:19:16 +00:00
luohui2320@gmail.com 9c804a28a4 update SDIO driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2027 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 15:20:36 +00:00
bernard.xiong@gmail.com 7022b8285f remove alignment memory allocation from SDIO framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1995 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-14 07:59:50 +00:00
luohui2320@gmail.com 9ca7f9dc6b fix a bug in SDIO driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1989 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-04 15:59:54 +00:00
luohui2320@gmail.com 53a51ebff8 update SDIO driver, fix some bugs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1988 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-04 13:17:11 +00:00
luohui2320@gmail.com 36c42a7488 Modify the SDIO driver registration interface
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1985 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-02 16:20:39 +00:00
luohui2320@gmail.com 8b68c3aaa4 rename some variable and add comment
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1982 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 16:25:48 +00:00
luohui2320@gmail.com cc4874a8b6 update sdio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1981 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 15:41:58 +00:00
luohui2320@gmail.com 79a699b7bf update sdio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1980 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-29 13:55:52 +00:00
luohui2320@gmail.com dea9c19e5e update SDIO protocol
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1979 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-28 16:40:40 +00:00
bernard.xiong@gmail.com 68384c37c4 change RT_USING_MMCSD to RT_USING_SDIO;
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1969 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:10:07 +00:00
bernard.xiong@gmail.com 3c6c8063ce code cleanup.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1966 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 15:04:19 +00:00
dzzxzz@gmail.com 70463829c5 if the D-cache is enabled, make sure the buffer used by DMA is aligned to 32 bytes
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1945 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-13 11:12:57 +00:00
bernard.xiong@gmail.com 2f9cd34325 merge 1.0.x to 1.1.x for SD driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1926 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 08:11:21 +00:00
luohui2320@gmail.com c53d3be4e1 update sdio/SConscript file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1914 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-09 16:32:57 +00:00
bernard.xiong@gmail.com 94d79d70c6 rename mmcsd to sdio.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1908 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 03:11:45 +00:00