sdmmc v2: Name eMMC physical partitions

This commit is contained in:
CTCaer
2020-04-29 22:06:33 +03:00
parent 10e7e06048
commit 5442547a59
12 changed files with 23 additions and 23 deletions

View File

@@ -443,7 +443,7 @@ void dump_emummc_file(emmc_tool_gui_t *gui)
}
// Get GP partition size dynamically.
sdmmc_storage_set_mmc_partition(&storage, 0);
sdmmc_storage_set_mmc_partition(&storage, EMMC_GPP);
// Get GP partition size dynamically.
const u32 RAW_AREA_NUM_SECTORS = storage.sec_cnt;
@@ -713,7 +713,7 @@ void dump_emummc_raw(emmc_tool_gui_t *gui, int part_idx, u32 sector_start)
strcpy(sdPath, gui->base_path);
}
sdmmc_storage_set_mmc_partition(&storage, 0);
sdmmc_storage_set_mmc_partition(&storage, EMMC_GPP);
// Get GP partition size dynamically.
const u32 RAW_AREA_NUM_SECTORS = storage.sec_cnt;