From cc664000c2b8a6e33a67e2ff06dfa8d97e6c5f79 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 23 Jan 2017 13:31:25 -0700 Subject: 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 --- common/board_f.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common') diff --git a/common/board_f.c b/common/board_f.c index 8c9453cb7ef..e5d112dd1ed 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 */ -- cgit v1.2.3