commit | 7d07d680bd7d6e1cf502269b07f8125f9db0c62d | [log] [tgz] |
---|---|---|
author | Francois Retief <fgretief@spaceteq.co.za> | Wed Oct 28 15:18:22 2015 +0200 |
committer | Francois Retief <fgretief@spaceteq.co.za> | Thu Dec 03 13:15:49 2015 +0200 |
tree | 6aed60fefa95f3b01e05a5ecf7e56bdb4e8eb409 | |
parent | 9e51aea5bdf8aa5908a025bad42e1e987ce6e5d4 [diff] |
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: Francois Retief <fgretief@spaceteq.co.za>