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>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -60,7 +60,7 @@ unsigned long ticks2usec(unsigned long ticks)
|
||||
#endif
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
int init_timebase (void)
|
||||
int timer_init(void)
|
||||
{
|
||||
unsigned long temp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user