aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf547x_8x
diff options
context:
space:
mode:
authorAngelo Dureghello2017-08-20 00:01:55 +0200
committerAngelo Dureghello2018-01-23 23:47:02 +0100
commitb9153fe3088a4ea295d6cd23dd44bed51224679a (patch)
treeade7049b0c4c8b2d18f3a97adf70c1e331dd20a5 /arch/m68k/cpu/mcf547x_8x
parentc761a7e29d703d60208585bb7d8415e00aa22556 (diff)
common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO
Change all coldfire arch files to use CONFIG_DISPLAY_CPUINFO. Signed-off-by: Angelo Dureghello <angelo@sysam.it> Reviewed-by: Tom Rini <trini@konsulko.com> --- Changes for v2: - update common/Kconfig to add M68K to the default y list
Diffstat (limited to 'arch/m68k/cpu/mcf547x_8x')
-rw-r--r--arch/m68k/cpu/mcf547x_8x/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf547x_8x/cpu.c b/arch/m68k/cpu/mcf547x_8x/cpu.c
index b1ca5c66abc..9980967dcbe 100644
--- a/arch/m68k/cpu/mcf547x_8x/cpu.c
+++ b/arch/m68k/cpu/mcf547x_8x/cpu.c
@@ -34,7 +34,8 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 1;
};
-int checkcpu(void)
+#if defined(CONFIG_DISPLAY_CPUINFO)
+int print_cpuinfo(void)
{
siu_t *siu = (siu_t *) MMAP_SIU;
u16 id = 0;
@@ -91,6 +92,7 @@ int checkcpu(void)
return 0;
};
+#endif /* CONFIG_DISPLAY_CPUINFO */
#if defined(CONFIG_HW_WATCHDOG)
/* Called by macro WATCHDOG_RESET */