bdk: emmc: add emmc_set_partition

Additionally, add SDMMC index info to errors.
This commit is contained in:
CTCaer committed 2022-12-19 04:53:50 +02:00
1 parent 227fe9b7ea
commit 6257d20db9
5 files changed
+15 -13

No files matched your search

+1
View File
@@ -1038,6 +1038,7 @@ DPRINTF("[SD] supports selected (U)HS mode\n");
u16 total_pwr_consumption = ((u16)buf[0] << 8) | buf[1];
DPRINTF("[SD] total max power: %d mW\n", total_pwr_consumption * 3600 / 1000);
storage->card_power_limit = total_pwr_consumption;
if (total_pwr_consumption <= 800)
{