summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192/Makefile.inc
diff options
context:
space:
mode:
authorWenbin Mei <wenbin.mei@mediatek.com>2020-09-25 10:03:02 +0800
committerHung-Te Lin <hungte@chromium.org>2020-12-16 06:27:12 +0000
commit1985894e74711934018f97d082f0b9a9db230894 (patch)
tree72b9e7701ec7a040a8b42e27d9ee14a8dfcdd083 /src/soc/mediatek/mt8192/Makefile.inc
parent92d59931c42df35358dbeaa090d511d340cb1431 (diff)
soc/mediatek/mt8192: ufs: Disable reference clock
UFS reference clock (refclk) is enabled by default, which will cause the UFSHCI to hold the SPM signal and lead to suspend failure. Since UFS kernel driver is not built-in, disable refclk in coreboot stage. Signed-off-by: Wenbin Mei <wenbin.mei@mediatek.com> Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com> Change-Id: If11c1b756ad1a0b85f1005f56a6cb4648c687cf0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46408 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8192/Makefile.inc')
-rw-r--r--src/soc/mediatek/mt8192/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc
index 23799663d7..cf09b3cf65 100644
--- a/src/soc/mediatek/mt8192/Makefile.inc
+++ b/src/soc/mediatek/mt8192/Makefile.inc
@@ -55,6 +55,7 @@ ramstage-y += spm.c
ramstage-y += sspm.c
ramstage-y += ../common/timer.c
ramstage-y += ../common/uart.c
+ramstage-y += ufs.c
ramstage-y += ../common/usb.c usb.c
MT8192_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8192