summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8173
diff options
context:
space:
mode:
authorCC Ma <cc.ma@mediatek.com>2015-09-15 17:33:38 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-03-12 08:59:32 +0100
commitb74a2eca80deed3e7d21ba1123c2b986abcfcc10 (patch)
treeed5bc8b1e25d6e0651a106cb060aadd442c09dcb /src/soc/mediatek/mt8173
parenta3f7fe8219654aa90ab2ea9458267e5136a03a01 (diff)
mediatek/mt8173: enable RTC in ramstage
BRANCH=none BUG=none TEST=boot to shell on Rev3 Change-Id: I77c5a8aa31ab10d82115a60bdfee1da35707619f Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 7d511df7f527ae96c2da01804c62fe98a13fed56 Original-Change-Id: I68ab8be50f210fa17bd731b400a087b150566e3b Original-Signed-off-by: CC Ma <cc.ma@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/303207 Original-Commit-Ready: Yidi Lin <yidi.lin@mediatek.com> Original-Tested-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/13103 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8173')
-rw-r--r--src/soc/mediatek/mt8173/Kconfig1
-rw-r--r--src/soc/mediatek/mt8173/Makefile.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8173/Kconfig b/src/soc/mediatek/mt8173/Kconfig
index ed1c4daa85..84c4d15970 100644
--- a/src/soc/mediatek/mt8173/Kconfig
+++ b/src/soc/mediatek/mt8173/Kconfig
@@ -13,6 +13,7 @@ config SOC_MEDIATEK_MT8173
select GENERIC_UDELAY
select GENERIC_GPIO_LIB
select HAVE_HARD_RESET
+ select RTC
if SOC_MEDIATEK_MT8173
diff --git a/src/soc/mediatek/mt8173/Makefile.inc b/src/soc/mediatek/mt8173/Makefile.inc
index 97053a5b96..fa344c0ee3 100644
--- a/src/soc/mediatek/mt8173/Makefile.inc
+++ b/src/soc/mediatek/mt8173/Makefile.inc
@@ -65,6 +65,7 @@ ramstage-y += pmic_wrap.c mt6391.c
ramstage-y += gpio.c
ramstage-y += wdt.c
ramstage-y += pll.c
+ramstage-y += rtc.c
ramstage-y += usb.c