[SDMMC] Raise power limit & fix sd power cycle

*Change sd_switch to accept other functions
*Allow for faster speeds by raising the power limit via switch cmd
*Fix the power cycle of sd cards.
This commit is contained in:
Kostas Missos
2018-06-23 06:45:29 +03:00
parent 901f2bb5bd
commit e8ee994ad0
3 changed files with 105 additions and 41 deletions

View File

@@ -48,6 +48,7 @@ typedef struct _mmc_csd
u32 write_blkbits;
u32 capacity;
u8 write_protect;
u16 busspeed;
} mmc_csd_t;
typedef struct _mmc_ext_csd