summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/qualcomm/ipq806x/Makefile.inc2
-rw-r--r--src/soc/qualcomm/ipq806x/bootblock.c2
-rw-r--r--src/soc/qualcomm/ipq806x/timer.c2
3 files changed, 5 insertions, 1 deletions
diff --git a/src/soc/qualcomm/ipq806x/Makefile.inc b/src/soc/qualcomm/ipq806x/Makefile.inc
index 00a938f01f..dfbbf3d445 100644
--- a/src/soc/qualcomm/ipq806x/Makefile.inc
+++ b/src/soc/qualcomm/ipq806x/Makefile.inc
@@ -21,10 +21,12 @@ bootblock-y += bootblock.c
bootblock-y += cbfs.c
bootblock-y += clock.c
bootblock-y += gpio.c
+bootblock-y += timer.c
romstage-y += cbfs.c
romstage-y += clock.c
romstage-y += gpio.c
+romstage-y += timer.c
ramstage-y += cbfs.c
ramstage-y += clock.c
diff --git a/src/soc/qualcomm/ipq806x/bootblock.c b/src/soc/qualcomm/ipq806x/bootblock.c
index f526c97d3e..a079d42922 100644
--- a/src/soc/qualcomm/ipq806x/bootblock.c
+++ b/src/soc/qualcomm/ipq806x/bootblock.c
@@ -18,7 +18,9 @@
*/
#include <bootblock_common.h>
+#include <delay.h>
void bootblock_soc_init(void)
{
+ init_timer();
}
diff --git a/src/soc/qualcomm/ipq806x/timer.c b/src/soc/qualcomm/ipq806x/timer.c
index 5c0dcb24bf..0d44e4a07d 100644
--- a/src/soc/qualcomm/ipq806x/timer.c
+++ b/src/soc/qualcomm/ipq806x/timer.c
@@ -40,7 +40,7 @@
#define GPT_FREQ (GPT_FREQ_KHZ * 1000) /* 32 KHz */
/**
- * timer_init - initialize timer
+ * init_timer - initialize timer
*/
void init_timer(void)
{