diff options
author | Wenbin Mei <wenbin.mei@mediatek.com> | 2022-06-08 16:37:00 +0800 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-06-12 22:28:37 +0000 |
commit | a49460c6b6e54bf09945263e8a57119e813f6de5 (patch) | |
tree | 5a6441cef1ddeb2771de7d708415ffa66ba7f061 /src/soc/rockchip | |
parent | f32a533931845f7974b25dda7191eac40ef831e5 (diff) |
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>
Diffstat (limited to 'src/soc/rockchip')
0 files changed, 0 insertions, 0 deletions