summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-28 16:27:24 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-05 17:54:29 (GMT)
commit70e2aaf380ef873901684027ef1082ebd4608785 (patch)
tree90a6e2123d9c526cbd270e44912323809c3f759b /common/board_f.c
parent1793e78225f619e78b1c3ee9735948869ec7d6ec (diff)
downloadu-boot-70e2aaf380ef873901684027ef1082ebd4608785.tar.xz
board_f: powerpc: Use timer_init() instead of init_timebase()
There is no good reason to use a different name on PowerPC. Change it to timer_init() like the others. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c
index a4b5df7..eb32fca 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -831,10 +831,8 @@ static const init_fnc_t init_sequence_f[] = {
#ifdef CONFIG_PPC
/* get CPU and bus clocks according to the environment variable */
get_clocks, /* get CPU and bus clocks (etc.) */
- /* TODO: can we rename this to timer_init()? */
- init_timebase,
#endif
-#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \
+#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || defined(CONFIG_PPC) || \
defined(CONFIG_NDS32) || defined(CONFIG_SH)
timer_init, /* initialize timer */
#endif