]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/m68k/cpu/mcf547x_8x/cpu.c
common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO
[people/ms/u-boot.git] / arch / m68k / cpu / mcf547x_8x / cpu.c
index b1ca5c66abc256b90769d8999761ef3f3f4eea8c..9980967dcbe2ef2bbdbc735ca12b5c401217d07f 100644 (file)
@@ -34,7 +34,8 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        return 1;
 };
 
-int checkcpu(void)
+#if defined(CONFIG_DISPLAY_CPUINFO)
+int print_cpuinfo(void)
 {
        siu_t *siu = (siu_t *) MMAP_SIU;
        u16 id = 0;
@@ -91,6 +92,7 @@ int checkcpu(void)
 
        return 0;
 };
+#endif /* CONFIG_DISPLAY_CPUINFO */
 
 #if defined(CONFIG_HW_WATCHDOG)
 /* Called by macro WATCHDOG_RESET */