diff options
| author | Simon Glass <[email protected]> | 2017-03-28 10:27:25 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-04-05 13:55:05 -0400 |
| commit | 11b33e64dd79df122f91199ce20841e48d59d877 (patch) | |
| tree | 850303a70c4a7256184a5a4da9a32ccd780322d1 /common | |
| parent | 70e2aaf380ef873901684027ef1082ebd4608785 (diff) | |
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 <[email protected]>
Reviewed-by: York Sun <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/board_f.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c index eb32fca6b4b..f64cfc41f89 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 |
