coreboot/src
Wenbin Mei a49460c6b6 soc/mediatek: pass access mode to the payload
Some eMMCs (for example, Kingston-EMMC64G-TX29-HP) may enter the ready
state by sending CMD1 twice. If it is in the ready state, then the
payload (for example, depthcharge) will not send CMD1, but the access
mode is only available from the response of CMD1.

Therefore, we need to pass the access mode to the payload by defining
the following types:

- MMC_STATUS_CMD1_READY: in ready state and access mode is byte mode.
- MMC_STATUS_CMD1_READY_HCS: in ready state and access mode is sector
  mode.

BUG=b:234672726
BRANCH=cherry
TEST=boot ok

Signed-off-by: Wenbin Mei <wenbin.mei@mediatek.com>
Change-Id: Iad905781d8ba0105911cf87a6b845cd8df57521e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65054
Reviewed-by: Yidi Lin <yidilin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2022-06-12 22:28:37 +00:00
..
acpi ec/google/chromeec: Add retimer handle to Type C conn 2022-05-04 13:15:30 +00:00
arch arch/x86/acpi: Replace ShiftLeft() with ASL 2.0 syntax 2022-06-09 09:07:18 +00:00
commonlib soc/mediatek: pass access mode to the payload 2022-06-12 22:28:37 +00:00
console console: Make CONSOLE_SPI_FLASH depend on BOOT_DEVICE_SPI_FLASH 2022-04-27 06:55:47 +00:00
cpu arch/x86: Add a common romstage entry 2022-06-07 12:54:39 +00:00
device dev/i2c_bus: Add declaration, implementation of i2c_dev_detect() 2022-05-31 13:43:39 +00:00
drivers drivers/intel/gma/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax 2022-06-09 08:57:33 +00:00
ec ec/google/chromeec: Add support to report fan speed via ACPI 2022-06-10 13:12:45 +00:00
include soc/amd/sabrina/acpi: Correct VID decoding on Sabrina 2022-06-09 18:06:05 +00:00
lib Replace some ENV_ROMSTAGE with ENV_RAMINIT 2022-06-07 12:53:19 +00:00
mainboard mb/google/brya/variants/felwinter: Enable TBT PCIe Root Port 0 2022-06-10 22:05:38 +00:00
northbridge drivers/amd/agesa: Don't save regular boot MTRR to flash 2022-06-06 08:57:09 +00:00
security drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
soc soc/mediatek: pass access mode to the payload 2022-06-12 22:28:37 +00:00
southbridge Replace some ENV_ROMSTAGE with ENV_RAMINIT 2022-06-07 12:53:19 +00:00
superio superio/winbond/w83667hg-a: Replace LEqual(a,b) with ASL 2.0 syntax 2022-06-09 09:05:56 +00:00
vendorcode vc/intel/fsp/fsp2_0/mtl: Add FSP header files (2173_00) for Meteor Lake 2022-06-09 13:49:53 +00:00
Kconfig src/Kconfig: Fix a spelling issue 2022-05-30 04:25:20 +00:00