summaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf5445x/cpu.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-01-24 22:08:00 -0500
committerTom Rini <trini@konsulko.com>2018-01-24 22:08:00 -0500
commita3f77c810b1a57853e4d5fee3014ac8cbbd03a9a (patch)
tree838815d1747e9a5a70b8627bc7fa7820d92a6c2d /arch/m68k/cpu/mcf5445x/cpu.c
parentfb4413295c765aa8c013650984dc2d908964c81d (diff)
parentb9153fe3088a4ea295d6cd23dd44bed51224679a (diff)
Merge branch 'master' of git://git.denx.de/u-boot-coldfire
Diffstat (limited to 'arch/m68k/cpu/mcf5445x/cpu.c')
-rw-r--r--arch/m68k/cpu/mcf5445x/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf5445x/cpu.c b/arch/m68k/cpu/mcf5445x/cpu.c
index 57bdcfb5c7..5967043086 100644
--- a/arch/m68k/cpu/mcf5445x/cpu.c
+++ b/arch/m68k/cpu/mcf5445x/cpu.c
@@ -31,7 +31,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;
@@ -100,6 +101,7 @@ int checkcpu(void)
return 0;
}
+#endif /* CONFIG_DISPLAY_CPUINFO */
#if defined(CONFIG_MCFFEC)
/* Default initializations for MCFFEC controllers. To override,