summaryrefslogtreecommitdiffstats
path: root/sys/dev/mmc/mmcvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow card reader bridge driver to report maximum supported transfer size.mav2008-10-291-0/+2
| | | | | | | | | sdhci supports up to 65535 blocks transfers, at91_mci - one block. Enable multiblock operations disabled before to follow at91_mci driver limitations. Reviewed by: imp@
* Implement BIO_DELETE command with MMC and SD erase commands.mav2008-10-181-0/+2
| | | | | | | | | | | | | | | | | Erase operation gives card's logic information about unused areas to help it implement wear-leveling with lower overhead comparing to usual writing. Erase is much faster then write and does not depends on data bus speed. Also as result of hitting in-card write logic optimizations I have measured up to 50% performance boost on writing undersized blocks into preerased areas. At the same time there are strict limitations on size and allignment of erase operations. We can erase only blocks aligned to the erase sector size and with size multiple of it. Different cards has different erase sector size which usually varies from 64KB to 4MB. SD cards actually allow to erase smaller blocks, but it is much more expensive as it is implemented via read-erase-write sequence and so not sutable for the BIO_DELETE purposes. Reviewed by: imp@
* Give mmcsd driver a bit more information about card. It allows to reorganizemav2008-10-111-0/+6
| | | | | log message in a way a bit more common for disk devices. Also it will allow mmcsd driver to use MMC/SD specific commands when needed.
* Set of mmc layer improvements:mav2008-10-081-0/+2
| | | | | | | - add MMC support. - add SDHC support. - add 4 and 8 bit bus width support. - add High Speed bus timing support.
* Define and use MMC_SECTOR_SIZE.imp2008-10-021-1/+1
| | | | Make mmc_get_media_size now return an off_t and remove now useless cast.
* Propigate read-only status of cards. Right now it is read only atimp2008-09-281-0/+2
| | | | | | | device attach time. We may need to read this more often in the future, but for now simplicity of implementation wins. Submitted by: mav@
* A careful reading of the disclaimer that is required to download theimp2007-05-261-0/+27
| | | | | | | | | SD Simplified specification, as well as other SD and SDIO implemenations I've examined, suggest this disclaimer may be required. It is unclear to me exactly what the license would be for, or why it might be required. Err on the side of caution and include this disclaimer so anybody deploying this code can judge for themselves. I have no further unformation about the details.
* Don't need mmc_mode ivarimp2007-05-151-2/+0
|
* Preliminary MMC stack. This stack supports SD 1.0 cards only, butimp2006-10-201-0/+54
should be easily adapted to SD 2.0 (aka SDHC), SDIO, MMC and MMCplus cards. At the present time, there's only one bridge driver for the ARM9 based Atmel AT91RM9200.
OpenPOWER on IntegriCloud