coreboot-kgpe-d16/src/commonlib
Shelley Chen 419cf93502 commonlib/storage: Add common eMMC functions
Now that multiple platforms are trying to initialize eMMC in coreboot
instead of depthcharge, lets move common functionality into commonlib
instead of copying the same functionality between multiple platforms.
Note for consistency, changed name of set_early_mmc_wake_status() to
mmc_set_early_wake_status().  Also adding an mmc_send_cmd1() function
for retrieving the Operating Conditions Register (OCR) contents.

BUG=b:218406702
BRANCH=None
TEST=emerge-herobrine coreboot chromeos-bootimage
     flash onto villager device and make sure still boots ChromeOS

Change-Id: Id00535b05bbd379081712601ef10e762c1831747
Signed-off-by: Shelley Chen <shchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71827
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
2023-01-16 00:33:11 +00:00
..
bsd treewide: stop calling custom TPM log "TCPA" 2023-01-11 16:00:55 +00:00
include/commonlib security/tpm: make tspi/crtm.c agnostic to log format 2023-01-11 16:03:22 +00:00
storage commonlib/storage: Add common eMMC functions 2023-01-16 00:33:11 +00:00
Makefile.inc commonlib: Add support for rational number approximation 2022-08-03 03:26:13 +00:00
fsp_relocate.c commonlib/fsp_relocate.c: Fix cbfstool build on 32-bit host 2022-11-25 13:53:31 +00:00
iobuf.c src/commonlib: Clean up includes 2022-10-26 16:27:10 +00:00
mem_pool.c
rational.c commonlib: Add support for rational number approximation 2022-08-03 03:26:13 +00:00
region.c src/commonlib: Clean up includes 2022-10-26 16:27:10 +00:00
sort.c