]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mx53loco/mx53loco.c
Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee
[karo-tx-uboot.git] / board / freescale / mx53loco / mx53loco.c
index db0bf17363e17346adc9e1357246595d9576f33c..08dd66fcc6414d8bd7afceb9244861858da34d06 100644 (file)
@@ -343,6 +343,7 @@ int board_early_init_f(void)
        return 0;
 }
 
+#if defined(CONFIG_DISPLAY_CPUINFO)
 int print_cpuinfo(void)
 {
        u32 cpurev;
@@ -356,6 +357,7 @@ int print_cpuinfo(void)
        printf("Reset cause: %s\n", get_reset_cause());
        return 0;
 }
+#endif
 
 /*
  * Do not overwrite the console