[U-Boot] [PATCH 06/12] sh: define CONFIG_DISPLAY_BOARDINFO to print board information

Vladimir Zapolskiy vz at mleia.com
Sat Aug 6 20:21:06 CEST 2016


All SH boards define a checkboard() function which outputs basic board
information on boot, however generic board support requires to define
CONFIG_DISPLAY_BOARDINFO to do that, so define it for the boards.

Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
---
 include/configs/MigoR.h      | 1 +
 include/configs/ap325rxa.h   | 1 +
 include/configs/ap_sh4a_4a.h | 1 +
 include/configs/ecovec.h     | 1 +
 include/configs/espt.h       | 1 +
 include/configs/mpr2.h       | 2 ++
 include/configs/ms7720se.h   | 1 +
 include/configs/ms7722se.h   | 1 +
 include/configs/ms7750se.h   | 2 ++
 include/configs/r0p7734.h    | 1 +
 include/configs/r2dplus.h    | 2 ++
 include/configs/r7780mp.h    | 2 ++
 include/configs/rsk7203.h    | 1 +
 include/configs/rsk7264.h    | 2 ++
 include/configs/rsk7269.h    | 2 ++
 include/configs/sh7752evb.h  | 1 +
 include/configs/sh7753evb.h  | 1 +
 include/configs/sh7757lcr.h  | 1 +
 include/configs/sh7763rdp.h  | 1 +
 include/configs/sh7785lcr.h  | 1 +
 include/configs/shmin.h      | 1 +
 21 files changed, 27 insertions(+)

diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h
index 1216cda..67361fc 100644
--- a/include/configs/MigoR.h
+++ b/include/configs/MigoR.h
@@ -17,6 +17,7 @@
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC0,115200 root=1f01"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
index 2c3ad14..a34a145 100644
--- a/include/configs/ap325rxa.h
+++ b/include/configs/ap325rxa.h
@@ -20,6 +20,7 @@
 #define CONFIG_BAUDRATE		38400
 #define CONFIG_BOOTARGS		"console=ttySC2,38400"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h
index 1b86ccc..bf76de7 100644
--- a/include/configs/ap_sh4a_4a.h
+++ b/include/configs/ap_sh4a_4a.h
@@ -23,6 +23,7 @@
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC4,115200"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h
index f80f8b1..886f5fb 100644
--- a/include/configs/ecovec.h
+++ b/include/configs/ecovec.h
@@ -38,6 +38,7 @@
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/espt.h b/include/configs/espt.h
index 86e726c..f92486f 100644
--- a/include/configs/espt.h
+++ b/include/configs/espt.h
@@ -23,6 +23,7 @@
 #define CONFIG_BOOTARGS         "console=ttySC0,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/mpr2.h b/include/configs/mpr2.h
index 3f2bfa4..6808885 100644
--- a/include/configs/mpr2.h
+++ b/include/configs/mpr2.h
@@ -23,6 +23,8 @@
 #define CONFIG_CPU_SH7720	1
 #define CONFIG_MPR2		1
 
+#define CONFIG_DISPLAY_BOARDINFO
+
 /* U-Boot internals */
 #define CONFIG_SYS_LONGHELP			/* undef to save memory	*/
 #define CONFIG_SYS_CBSIZE		256	/* Buffer size for input from the Console */
diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h
index 27ed1d5..e6328ed 100644
--- a/include/configs/ms7720se.h
+++ b/include/configs/ms7720se.h
@@ -21,6 +21,7 @@
 #define CONFIG_BOOTFILE		"/boot/zImage"
 #define CONFIG_LOADADDR		0x8E000000
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/ms7722se.h b/include/configs/ms7722se.h
index 27e9c0a..c47dd2c 100644
--- a/include/configs/ms7722se.h
+++ b/include/configs/ms7722se.h
@@ -18,6 +18,7 @@
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC0,115200 root=1f01"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/ms7750se.h b/include/configs/ms7750se.h
index c0fb16d..6268d73 100644
--- a/include/configs/ms7750se.h
+++ b/include/configs/ms7750se.h
@@ -15,6 +15,8 @@
 #define CONFIG_MS7750SE		1
 #define __LITTLE_ENDIAN__	1
 
+#define CONFIG_DISPLAY_BOARDINFO
+
 /*
  * Command line configuration.
  */
diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h
index c09c71a..446281d 100644
--- a/include/configs/r0p7734.h
+++ b/include/configs/r0p7734.h
@@ -23,6 +23,7 @@
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC3,115200"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h
index 812de13..c69b24e 100644
--- a/include/configs/r2dplus.h
+++ b/include/configs/r2dplus.h
@@ -6,6 +6,8 @@
 #define CONFIG_R2DPLUS		1
 #define __LITTLE_ENDIAN__	1
 
+#define CONFIG_DISPLAY_BOARDINFO
+
 /*
  * Command line configuration.
  */
diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h
index 4d5be4a..5135dd6 100644
--- a/include/configs/r7780mp.h
+++ b/include/configs/r7780mp.h
@@ -15,6 +15,8 @@
 #define CONFIG_SYS_R7780MP_OLD_FLASH	1
 #define __LITTLE_ENDIAN__ 1
 
+#define CONFIG_DISPLAY_BOARDINFO
+
 /*
  * Command line configuration.
  */
diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
index 74021b8..76ebd62 100644
--- a/include/configs/rsk7203.h
+++ b/include/configs/rsk7203.h
@@ -19,6 +19,7 @@
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 #define CONFIG_LOADADDR		0x0C100000 /* RSK7203_SDRAM_BASE + 1MB */
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef	CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/rsk7264.h b/include/configs/rsk7264.h
index 55dd2c4..ea60014 100644
--- a/include/configs/rsk7264.h
+++ b/include/configs/rsk7264.h
@@ -14,6 +14,8 @@
 #define CONFIG_CPU_SH7264	1
 #define CONFIG_RSK7264		1
 
+#define CONFIG_DISPLAY_BOARDINFO
+
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC3,115200"
 #define CONFIG_SYS_BAUDRATE_TABLE	{ CONFIG_BAUDRATE }
diff --git a/include/configs/rsk7269.h b/include/configs/rsk7269.h
index ec7a99b..f470954 100644
--- a/include/configs/rsk7269.h
+++ b/include/configs/rsk7269.h
@@ -13,6 +13,8 @@
 #define CONFIG_CPU_SH7269	1
 #define CONFIG_RSK7269		1
 
+#define CONFIG_DISPLAY_BOARDINFO
+
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC7,115200"
 #define CONFIG_SYS_BAUDRATE_TABLE	{ CONFIG_BAUDRATE }
diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h
index 87ac8dd..b476215 100644
--- a/include/configs/sh7752evb.h
+++ b/include/configs/sh7752evb.h
@@ -24,6 +24,7 @@
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef	CONFIG_SHOW_BOOT_PROGRESS
 #define CONFIG_CMDLINE_EDITING
diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h
index cfa81af..0258584 100644
--- a/include/configs/sh7753evb.h
+++ b/include/configs/sh7753evb.h
@@ -24,6 +24,7 @@
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef	CONFIG_SHOW_BOOT_PROGRESS
 #define CONFIG_CMDLINE_EDITING
diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h
index 90fa63f..8ac20e6 100644
--- a/include/configs/sh7757lcr.h
+++ b/include/configs/sh7757lcr.h
@@ -24,6 +24,7 @@
 #define CONFIG_BAUDRATE		115200
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef	CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
index 538ba98..b77a964 100644
--- a/include/configs/sh7763rdp.h
+++ b/include/configs/sh7763rdp.h
@@ -23,6 +23,7 @@
 #define CONFIG_BOOTARGS         "console=ttySC2,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index 9b2e31a..b070d39 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -27,6 +27,7 @@
 	"bootdevice=0:1\0"						\
 	"usbload=usb reset;usbboot;usb stop;bootm\0"
 
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef	CONFIG_SHOW_BOOT_PROGRESS
 
diff --git a/include/configs/shmin.h b/include/configs/shmin.h
index 897ba1d..655d58f 100644
--- a/include/configs/shmin.h
+++ b/include/configs/shmin.h
@@ -25,6 +25,7 @@
  * This board has original boot loader. If you write u-boot to 0x0,
  * you should set undef.
  */
+#define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_VERSION_VARIABLE
 #undef  CONFIG_SHOW_BOOT_PROGRESS
 
-- 
2.8.1



More information about the U-Boot mailing list