Skip to content
Snippets Groups Projects
Commit c97088c3 authored by Francois Retief's avatar Francois Retief
Browse files

sparc: Update cpu_init.c to use generic timer infrastructure


Introduce the CONFIG_SYS_TIMER_* macros in include/asm/config.h to make use
of the generic timer infrastructure in lib/time.c.

Created a timer_init() function to initialize the timer hardware and update
the #ifdef in board_init_f to allow this function to be called during the
start-up sequence.

Signed-off-by: default avatarFrancois Retief <fgretief@spaceteq.co.za>
parent c837901b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment