diff options
author | Simon Glass <sjg@chromium.org> | 2017-03-28 10:27:24 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-05 13:54:29 -0400 |
commit | 70e2aaf380ef873901684027ef1082ebd4608785 (patch) | |
tree | 90a6e2123d9c526cbd270e44912323809c3f759b /common | |
parent | 1793e78225f619e78b1c3ee9735948869ec7d6ec (diff) |
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')
-rw-r--r-- | common/board_f.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c index a4b5df7835c..eb32fca6b4b 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 |