summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/mt8173/Makefile.inc4
-rw-r--r--src/soc/mediatek/mt8173/bootblock.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/mediatek/mt8173/Makefile.inc b/src/soc/mediatek/mt8173/Makefile.inc
index 5a2406e69f..cbc98555fe 100644
--- a/src/soc/mediatek/mt8173/Makefile.inc
+++ b/src/soc/mediatek/mt8173/Makefile.inc
@@ -26,7 +26,7 @@ bootblock-$(CONFIG_DRIVERS_UART) += uart.c
endif
bootblock-y += gpio.c gpio_init.c pmic_wrap.c mt6391.c
-bootblock-y += wdt.c rtc.c
+bootblock-y += wdt.c
bootblock-y += mmu_operations.c
################################################################################
@@ -49,7 +49,9 @@ romstage-$(CONFIG_DRIVERS_UART) += uart.c
romstage-y += cbmem.c
romstage-y += spi.c
romstage-y += gpio.c
+romstage-y += pmic_wrap.c mt6391.c
romstage-y += mmu_operations.c
+romstage-y += rtc.c
################################################################################
diff --git a/src/soc/mediatek/mt8173/bootblock.c b/src/soc/mediatek/mt8173/bootblock.c
index ac1fd3ab39..7fe879c4b9 100644
--- a/src/soc/mediatek/mt8173/bootblock.c
+++ b/src/soc/mediatek/mt8173/bootblock.c
@@ -17,7 +17,6 @@
#include <soc/mmu_operations.h>
#include <soc/mt6391.h>
#include <soc/pll.h>
-#include <soc/rtc.h>
#include <soc/wdt.h>
void bootblock_soc_init(void)
@@ -34,6 +33,4 @@ void bootblock_soc_init(void)
/* init watch dog, will disable AP watch dog */
mtk_wdt_init();
-
- rtc_boot();
}