diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-23 13:31:25 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-25 17:38:43 -0500 |
commit | cc664000c2b8a6e33a67e2ff06dfa8d97e6c5f79 (patch) | |
tree | 3fca8d49196229aa9f8584bbe2fb778409170646 /common/board_f.c | |
parent | 37b499c43fbf91b65520d7e2bd7bb998c7ba38e2 (diff) |
Drop the static inline print_cpuinfo()
This is only called from one place and the function cannot be inlined.
Convert it to a normal function.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_f.c')
-rw-r--r-- | common/board_f.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c index 8c9453cb7e..e5d112dd1e 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -916,7 +916,9 @@ static init_fnc_t init_sequence_f[] = { #if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SH) checkcpu, #endif +#if defined(CONFIG_DISPLAY_CPUINFO) print_cpuinfo, /* display cpu info (and speed) */ +#endif #if defined(CONFIG_MPC5xxx) prt_mpc5xxx_clks, #endif /* CONFIG_MPC5xxx */ |