From 3d0570ed3be1210b2a962325845f886e30b4338d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 28 Mar 2017 10:27:25 -0600 Subject: [PATCH] board_f: Use timer_init() on all archs More than half of the architectures use this function so let's make them all use it. For those which don't actually define it, we can rely on the weak function in lib/time.c Signed-off-by: Simon Glass Reviewed-by: York Sun Reviewed-by: Stefan Roese --- common/board_f.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index eb32fca6b4..f64cfc41f8 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -832,10 +832,7 @@ static const init_fnc_t init_sequence_f[] = { /* get CPU and bus clocks according to the environment variable */ get_clocks, /* get CPU and bus clocks (etc.) */ #endif -#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || defined(CONFIG_PPC) || \ - defined(CONFIG_NDS32) || defined(CONFIG_SH) timer_init, /* initialize timer */ -#endif #if defined(CONFIG_BOARD_POSTCLK_INIT) board_postclk_init, #endif -- 2.39.5