summaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf5227x/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/cpu/mcf5227x/cpu.c')
-rw-r--r--arch/m68k/cpu/mcf5227x/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf5227x/cpu.c b/arch/m68k/cpu/mcf5227x/cpu.c
index 7d611de906..63cffd3355 100644
--- a/arch/m68k/cpu/mcf5227x/cpu.c
+++ b/arch/m68k/cpu/mcf5227x/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;
@@ -60,3 +61,4 @@ int checkcpu(void)
return 0;
}
+#endif /* CONFIG_DISPLAY_CPUINFO */