rockchip: rk3399: enable sdhci clk for emmc

Hardware / Coreboot - Shunqian Zheng [rock-chips.com] - 18 May 2016 13:23 UTC

If booting from sdcard/usb, kernel can't recognize the /dev/mmcblk0. Before kernel find it's root cause, we add this workaround patch to enable clk for emmc.

BRANCH=none BUG=chrome-os-partner:52873 TEST=boot from sdcard and check the /dev/mmcblk0 exists

Change-Id: Ie36cc6fdbc24db8c30984c02ccfe2f8aaaf30cd2

462e141 rockchip: rk3399: enable sdhci clk for emmc
src/mainboard/google/gru/mainboard.c | 3 ++
src/soc/rockchip/rk3399/Makefile.inc | 1 +
src/soc/rockchip/rk3399/emmc.c | 50 ++++++++++++++++++++++++++++
src/soc/rockchip/rk3399/include/soc/emmc.h | 16 +++++++++
4 files changed, 70 insertions(+)

Upstream: review.coreboot.org


  • Share