mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
mmc: MMC sector based cards
Support for MMC 4.2 sector based cards. This tweaks the init a bit and reads a new field out of the EXT_CSD. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
parent
de85989511
commit
85a18ad93e
4 changed files with 38 additions and 8 deletions
|
@ -41,6 +41,7 @@ struct mmc_csd {
|
|||
|
||||
struct mmc_ext_csd {
|
||||
unsigned int hs_max_dtr;
|
||||
unsigned int sectors;
|
||||
};
|
||||
|
||||
struct sd_scr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue