![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Functions | |
uint64_t | storage_block_erase (struct storage_media *media, uint64_t start, uint64_t count) |
uint64_t storage_block_erase | ( | struct storage_media * | media, |
uint64_t | start, | ||
uint64_t | count | ||
) |
Definition at line 10 of file storage_erase.c.
References ALIGN_UP, CARD_RSP_R1, mmc_command::cmdarg, mmc_command::cmdidx, count, storage_media::ctrlr, storage_media::erase_blocks, mmc_command::flags, media, MMC_CMD_ERASE, MMC_CMD_ERASE_GROUP_END, MMC_CMD_ERASE_GROUP_START, MMC_TRIM_ARG, NULL, mmc_command::resp_type, sd_mmc_error, sd_mmc_send_status(), sd_mmc_ctrlr::send_cmd, storage_block_setup(), and storage_media::trim_mult.