summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-23 13:31:25 -0700
committerTom Rini <trini@konsulko.com>2017-01-25 17:38:43 -0500
commitcc664000c2b8a6e33a67e2ff06dfa8d97e6c5f79 (patch)
tree3fca8d49196229aa9f8584bbe2fb778409170646 /include
parent37b499c43fbf91b65520d7e2bd7bb998c7ba38e2 (diff)
downloadu-boot-imx-cc664000c2b8a6e33a67e2ff06dfa8d97e6c5f79.zip
u-boot-imx-cc664000c2b8a6e33a67e2ff06dfa8d97e6c5f79.tar.gz
u-boot-imx-cc664000c2b8a6e33a67e2ff06dfa8d97e6c5f79.tar.bz2
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 'include')
-rw-r--r--include/common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h
index 53cdadf..35ac78f 100644
--- a/include/common.h
+++ b/include/common.h
@@ -284,14 +284,7 @@ int mac_read_from_eeprom(void);
extern u8 __dtb_dt_begin[]; /* embedded device tree blob */
int set_cpu_clk_info(void);
int mdm_init(void);
-#if defined(CONFIG_DISPLAY_CPUINFO)
int print_cpuinfo(void);
-#else
-static inline int print_cpuinfo(void)
-{
- return 0;
-}
-#endif
int update_flash_size(int flash_size);
int arch_early_init_r(void);