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
Reviewed-on: http://review.coreboot.org/7981
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Marc Jones 2014-12-29 16:52:59 -07:00
parent 0b341b341d
commit 017287a6f7
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -18,7 +18,9 @@
*/
#include <bootblock_common.h>
#include <delay.h>
void bootblock_soc_init(void)
{
init_timer();
}

View File

@ -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)
{