summaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf523x
diff options
context:
space:
mode:
authorAngelo Dureghello <angelo@sysam.it>2017-08-20 00:01:55 +0200
committerAngelo Dureghello <angelo@sysam.it>2018-01-23 23:47:02 +0100
commitb9153fe3088a4ea295d6cd23dd44bed51224679a (patch)
treeade7049b0c4c8b2d18f3a97adf70c1e331dd20a5 /arch/m68k/cpu/mcf523x
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/mcf523x')
-rw-r--r--arch/m68k/cpu/mcf523x/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf523x/cpu.c b/arch/m68k/cpu/mcf523x/cpu.c
index 67879c7d6a..2e52939ba1 100644
--- a/arch/m68k/cpu/mcf523x/cpu.c
+++ b/arch/m68k/cpu/mcf523x/cpu.c
@@ -28,7 +28,8 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 0;
}
-int checkcpu(void)
+#if defined(CONFIG_DISPLAY_CPUINFO)
+int print_cpuinfo(void)
{
ccm_t *ccm = (ccm_t *) MMAP_CCM;
u16 msk;
@@ -56,6 +57,7 @@ int checkcpu(void)
return 0;
};
+#endif /* CONFIG_DISPLAY_CPUINFO */
#if defined(CONFIG_WATCHDOG)
/* Called by macro WATCHDOG_RESET */