summaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf530x/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/cpu/mcf530x/cpu.c')
-rw-r--r--arch/m68k/cpu/mcf530x/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf530x/cpu.c b/arch/m68k/cpu/mcf530x/cpu.c
index 78f438548b..3552af20e6 100644
--- a/arch/m68k/cpu/mcf530x/cpu.c
+++ b/arch/m68k/cpu/mcf530x/cpu.c
@@ -25,7 +25,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)
{
char buf[32];
@@ -33,4 +34,5 @@ int checkcpu(void)
strmhz(buf, CONFIG_SYS_CPU_CLK));
return 0;
}
+#endif /* CONFIG_DISPLAY_CPUINFO */
#endif