[coreboot-gerrit] Change in coreboot[master]: google/grunt: Reset BayHub EMMC freq to SD base CLK 50MHz

Kevin Chiu (Code Review) gerrit at coreboot.org
Mon Aug 27 06:06:16 CEST 2018


Kevin Chiu has uploaded a new patch set (#2). ( https://review.coreboot.org/28353 )

Change subject: google/grunt: Reset BayHub EMMC freq to SD base CLK 50MHz
......................................................................

google/grunt: Reset BayHub EMMC freq to SD base CLK 50MHz

Bayhub eMMC controller default runs SD base 50MHz at the first power on.
After boot into OS, mmc kernel driver will config controller to HS200/208MHz
and send MMC CMD21 (tuning block).
But Bayhub PCR register 0x3E4[22] (eMMC MODE select) is not clear
after system warn reset.
So eMMC will still run 208Mhz but there is no block tuning cmd in depthcharge.
It will cause two Sandisk eMMC (SDINBDA4-64G-V/SDINBDA4-32G-V) failing to
load kernel and trap in 0x5B error (No bootable kernel found on disk).

BUG=b:111964336
BRANCH=master
TEST=emerge-grunt coreboot
Change-Id: Ic080682e67323577c7f0ba4ed08f8adafca620cc
Signed-off-by: Kevin Chiu <Kevin.Chiu at quantatw.com>
---
M src/drivers/generic/bayhub/bh720.c
M src/drivers/generic/bayhub/bh720.h
M src/mainboard/google/kahlee/variants/baseboard/mainboard.c
3 files changed, 49 insertions(+), 4 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/28353/2
-- 
To view, visit https://review.coreboot.org/28353
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic080682e67323577c7f0ba4ed08f8adafca620cc
Gerrit-Change-Number: 28353
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Chiu <Kevin.Chiu at quantatw.com>
Gerrit-CC: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180827/84d63918/attachment.html>


More information about the coreboot-gerrit mailing list