]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/m68k/cpu/mcf5445x/cpu.c
common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO
[people/ms/u-boot.git] / arch / m68k / cpu / mcf5445x / cpu.c
index 57bdcfb5c7df930fbc6c0ada327d61cf54597680..596704308615fe03cde2fe6893d25a0227c3ae15 100644 (file)
@@ -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,