1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-17 16:02:33 +02:00

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>
This commit is contained in:
Simon Glass
2017-01-23 13:31:25 -07:00
committed by Tom Rini
parent 37b499c43f
commit cc664000c2
2 changed files with 2 additions and 7 deletions

View File

@@ -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);