forked from len0rd/rockbox
SD: Move sd_parse_csd() into common sdmmc code
This leaves firmware/driver/sd.c only containing storage API wrappers Change-Id: I94f3f38c180f3802f479cdc54723fcd1b7782421
This commit is contained in:
parent
e10e3b2345
commit
97ebba1fbd
3 changed files with 54 additions and 55 deletions
|
@ -1347,7 +1347,7 @@ static int disk_callback(int btn, struct gui_synclist *lists)
|
|||
simplelist_addline(
|
||||
"Nsac: %d clk", card->nsac);
|
||||
simplelist_addline(
|
||||
"R2W: *%d", card->r2w_factor);
|
||||
"R2W: *%d", 1 << card->r2w_factor);
|
||||
#if (CONFIG_STORAGE & STORAGE_SD)
|
||||
int csd_structure = card_extract_bits(card->csd, 127, 2);
|
||||
const char *ver;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue