[U-Boot] [PATCH v2 08/10] sparc: Update all LEON3 boards to generic board-init

Francois Retief fgretief at spaceteq.co.za
Wed Nov 5 13:08:21 CET 2014


Add the CONFIG_SYS_GENERIC_BOARD variable to all the LEON3 boards.

Signed-off-by: Francois Retief <fgretief at spaceteq.co.za>
---

Changes in v2: None

 include/configs/gr_cpci_ax2000.h | 4 +++-
 include/configs/gr_ep2s60.h      | 4 +++-
 include/configs/gr_xc3s_1500.h   | 4 +++-
 include/configs/grsim.h          | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/include/configs/gr_cpci_ax2000.h b/include/configs/gr_cpci_ax2000.h
index 5e9b3f7..3029f42 100644
--- a/include/configs/gr_cpci_ax2000.h
+++ b/include/configs/gr_cpci_ax2000.h
@@ -14,6 +14,8 @@
 #ifndef __CONFIG_H__
 #define __CONFIG_H__

+#define CONFIG_SYS_GENERIC_BOARD 1
+
 /*
  * High Level Configuration Options
  * (easy to change)
@@ -346,7 +348,7 @@
  ((((CONFIG_SYS_CLK_FREQ*10)/(CONFIG_BAUDRATE*8))-5)/10)

 /* 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"
diff --git a/include/configs/gr_ep2s60.h b/include/configs/gr_ep2s60.h
index 9e99d07..32ee7c9 100644
--- a/include/configs/gr_ep2s60.h
+++ b/include/configs/gr_ep2s60.h
@@ -15,6 +15,8 @@
 #ifndef __CONFIG_H__
 #define __CONFIG_H__

+#define CONFIG_SYS_GENERIC_BOARD 1
+
 /*
  * High Level Configuration Options
  * (easy to change)
@@ -321,7 +323,7 @@
  ((((CONFIG_SYS_CLK_FREQ*10)/(CONFIG_BAUDRATE*8))-5)/10)

 /* 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"
diff --git a/include/configs/gr_xc3s_1500.h b/include/configs/gr_xc3s_1500.h
index 8657a56..565310e 100644
--- a/include/configs/gr_xc3s_1500.h
+++ b/include/configs/gr_xc3s_1500.h
@@ -13,6 +13,8 @@
 #ifndef __CONFIG_H__
 #define __CONFIG_H__

+#define CONFIG_SYS_GENERIC_BOARD 1
+
 /*
  * High Level Configuration Options
  * (easy to change)
@@ -286,7 +288,7 @@
  ((((CONFIG_SYS_CLK_FREQ*10)/(CONFIG_BAUDRATE*8))-5)/10)

 /* 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"
diff --git a/include/configs/grsim.h b/include/configs/grsim.h
index 50cafb8..5a727f2 100644
--- a/include/configs/grsim.h
+++ b/include/configs/grsim.h
@@ -13,6 +13,8 @@
 #ifndef __CONFIG_H__
 #define __CONFIG_H__

+#define CONFIG_SYS_GENERIC_BOARD 1
+
 /*
  * High Level Configuration Options
  * (easy to change)
@@ -306,6 +308,6 @@
 /* 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"

 #endif                         /* __CONFIG_H */
--
1.9.3


________________________________
Disclaimer and confidentiality note – refer to our website for further details: www.spaceteq.co.za <http://www.spaceteq.co.za/home/emaildisclaimer/>


More information about the U-Boot mailing list