Marc Jones (marc.jones@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7981
-gerrit
commit c72d02a5ca259f5a2f1c2a1448d92d6ebdb45094 Author: Marc Jones marc.jones@se-eng.com Date: Mon Dec 29 16:52:59 2014 -0700
ipq8064: make timer services available
Make sure it is initialized at different stages.
BUG=chrome-os-partner:27784 TEST=manual . not much at this point, just verified that it compiles
Original-Change-Id: I343e7a6648e2ca935606cd76befd204aabd93726 Original-Signed-off-by: Vadim Bendebury vbendeb@chromium.org Original-Reviewed-on: https://chromium-review.googlesource.com/196592 (cherry picked from commit aedc41924313e5c21aef97b036f5a0643d59082d) Signed-off-by: Marc Jones marc.jones@se-eng.com
Change-Id: I4a90ae5ba6c9a561b7d5c938d18b6ea2b855855f --- src/soc/qualcomm/ipq806x/Makefile.inc | 2 ++ src/soc/qualcomm/ipq806x/bootblock.c | 2 ++ src/soc/qualcomm/ipq806x/timer.c | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/soc/qualcomm/ipq806x/Makefile.inc b/src/soc/qualcomm/ipq806x/Makefile.inc index 00a938f..dfbbf3d 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 f526c97..a079d42 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 5c0dcb2..0d44e4a 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) {