]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/altera/socfpga/socfpga_cyclone5.c
Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee
[karo-tx-uboot.git] / board / altera / socfpga / socfpga_cyclone5.c
index 576066bef13f3bd06a8b5d93e9206189a0b95462..a960eb60028b52e187ecabf04341e2074de53c38 100644 (file)
@@ -12,6 +12,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+#if defined(CONFIG_DISPLAY_CPUINFO)
 /*
  * Print CPU information
  */
@@ -20,6 +21,7 @@ int print_cpuinfo(void)
        puts("CPU   : Altera SOCFPGA Platform\n");
        return 0;
 }
+#endif
 
 /*
  * Print Board information