]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
sparc: Add CONFIG_DISPLAY_BOARDINFO variable to all LEON boards
authorFrancois Retief <fgretief@spaceteq.co.za>
Wed, 28 Oct 2015 14:49:02 +0000 (16:49 +0200)
committerFrancois Retief <fgretief@spaceteq.co.za>
Thu, 3 Dec 2015 11:15:49 +0000 (13:15 +0200)
Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
arch/sparc/cpu/leon2/cpu.c
arch/sparc/cpu/leon3/cpu.c
include/configs/gr_cpci_ax2000.h
include/configs/gr_ep2s60.h
include/configs/gr_xc3s_1500.h
include/configs/grsim.h
include/configs/grsim_leon2.h

index 22e63e386978f4c37101a34101b26e56af5ebb4c..d044c3abc72fb592aa3a99ad1c6812bb48d0fbd9 100644 (file)
@@ -22,6 +22,16 @@ int checkcpu(void)
        return 0;
 }
 
+#ifdef CONFIG_DISPLAY_CPUINFO
+
+int print_cpuinfo(void)
+{
+       printf("CPU:   LEON2\n");
+       return 0;
+}
+
+#endif
+
 /* ------------------------------------------------------------------------- */
 
 void cpu_reset(void)
index d57bf2fc8710955c73484abb039ec04306031cb5..7034be60ec39f4569ddf8e7d027a20538b50c1b4 100644 (file)
@@ -25,6 +25,16 @@ int checkcpu(void)
        return 0;
 }
 
+#ifdef CONFIG_DISPLAY_CPUINFO
+
+int print_cpuinfo(void)
+{
+       printf("CPU:   LEON3\n");
+       return 0;
+}
+
+#endif
+
 /* ------------------------------------------------------------------------- */
 
 void cpu_reset(void)
index a16f59a8913cc7c665f6bbaf77ace53a209a07b3..c3b1729326ed037784f13e11dc42e61ee2f1276d 100644 (file)
@@ -15,6 +15,7 @@
 #define __CONFIG_H__
 
 #define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_DISPLAY_BOARDINFO
 
 /*
  * High Level Configuration Options
 #undef CONFIG_SYS_GRLIB_GAISLER_DDR2SPA1
 
 /* Identification string */
-#define CONFIG_IDENT_STRING "GAISLER LEON3 GR-CPCI-AX2000"
+#define CONFIG_IDENT_STRING " Gaisler LEON3 GR-CPCI-AX2000"
 
 /* default kernel command line */
 #define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
index f472179dd6896a7e816819e924dfbd730604665f..45163edd8dd7551dd39b6b50b6eeeebe43b6607b 100644 (file)
@@ -16,6 +16,7 @@
 #define __CONFIG_H__
 
 #define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_DISPLAY_BOARDINFO
 
 /*
  * High Level Configuration Options
 #undef CONFIG_SYS_GRLIB_GAISLER_DDR2SPA1
 
 /* Identification string */
-#define CONFIG_IDENT_STRING "GAISLER LEON3 EP2S60"
+#define CONFIG_IDENT_STRING " Gaisler LEON3 EP2S60"
 
 /* default kernel command line */
 #define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
index 8598ac18813c88d98c2fc5107894a7efa1990f2f..f675b7584393bb66471f3dc05a251f91810376d8 100644 (file)
@@ -14,6 +14,7 @@
 #define __CONFIG_H__
 
 #define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_DISPLAY_BOARDINFO
 
 /*
  * High Level Configuration Options
 #undef CONFIG_SYS_GRLIB_GAISLER_DDR2SPA1
 
 /* Identification string */
-#define CONFIG_IDENT_STRING "GAISLER LEON3 GR-XC3S-1500"
+#define CONFIG_IDENT_STRING " Gaisler LEON3 GR-XC3S-1500"
 
 /* default kernel command line */
 #define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
index e280dee9e9a5a0b09fe7f596cef3fe59a42d23c0..47c357322df8d261fdb3ee0a7fc81782a9214a64 100644 (file)
@@ -14,6 +14,7 @@
 #define __CONFIG_H__
 
 #define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_DISPLAY_BOARDINFO
 
 /*
  * High Level Configuration Options
 /* default kernel command line */
 #define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
 
-#define CONFIG_IDENT_STRING "Gaisler GRSIM"
+#define CONFIG_IDENT_STRING " Gaisler GRSIM"
 
 /* TSIM command:
  * $ ./tsim-leon3 -mmu -cas
index 2f7a5628f14bf7718695f7c7bb602127a83ad8e2..0a5292e9fdb02a53e3a4d7c6626107b4edce5aab 100644 (file)
@@ -13,6 +13,7 @@
 #define __CONFIG_H__
 
 #define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_DISPLAY_BOARDINFO
 
 /*
  * High Level Configuration Options
 /* default kernel command line */
 #define CONFIG_DEFAULT_KERNEL_COMMAND_LINE "console=ttyS0,38400\0\0"
 
-#define CONFIG_IDENT_STRING "Gaisler GRSIM LEON2"
+#define CONFIG_IDENT_STRING " Gaisler GRSIM LEON2"
 
 #endif                         /* __CONFIG_H */