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 /arch | |
parent | 1793e78225f619e78b1c3ee9735948869ec7d6ec (diff) | |
download | u-boot-70e2aaf380ef873901684027ef1082ebd4608785.zip u-boot-70e2aaf380ef873901684027ef1082ebd4608785.tar.gz u-boot-70e2aaf380ef873901684027ef1082ebd4608785.tar.bz2 |
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 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc5xx/cpu_init.c | 2 | ||||
-rw-r--r-- | arch/powerpc/lib/time.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc5xx/cpu_init.c b/arch/powerpc/cpu/mpc5xx/cpu_init.c index 0f62c13..5bae39f 100644 --- a/arch/powerpc/cpu/mpc5xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc5xx/cpu_init.c @@ -43,7 +43,7 @@ void cpu_init_f (volatile immap_t * immr) immr->im_uimb.uimb_umcr = CONFIG_SYS_UMCR; /* Time base and decrementer will be enables (TBE) */ - /* in init_timebase() in time.c called from board_init_f(). */ + /* in timer_init() in time.c called from board_init_f(). */ /* Initialize the PIT. Unlock PISCRK */ immr->im_sitk.sitk_piscrk = KAPWR_KEY; diff --git a/arch/powerpc/lib/time.c b/arch/powerpc/lib/time.c index 62b6c72..de5f0be 100644 --- a/arch/powerpc/lib/time.c +++ b/arch/powerpc/lib/time.c @@ -60,7 +60,7 @@ unsigned long ticks2usec(unsigned long ticks) #endif /* ------------------------------------------------------------------------- */ -int init_timebase (void) +int timer_init(void) { unsigned long temp; |