public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] print true board names on socfpga
@ 2014-10-08 21:59 Pavel Machek
  2014-10-08 22:07 ` Marek Vasut
  0 siblings, 1 reply; 13+ messages in thread
From: Pavel Machek @ 2014-10-08 21:59 UTC (permalink / raw)
  To: u-boot

Make boards with Altera Socfpga print real board names.
    
Signed-off-by: Pavel Machek <pavel@denx.de>

---

This is against Marek's tree. Ignore the missing file for mainline.

diff --git a/board/altera/socfpga/socfpga_cyclone5.c b/board/altera/socfpga/socfpga_cyclone5.c
index 7661ac9..43307f5 100644
--- a/board/altera/socfpga/socfpga_cyclone5.c
+++ b/board/altera/socfpga/socfpga_cyclone5.c
@@ -17,7 +17,7 @@ DECLARE_GLOBAL_DATA_PTR;
  */
 int checkboard(void)
 {
-	puts("BOARD: Altera SoCFPGA Cyclone5 Board\n");
+	puts("BOARD: " CONFIG_BOARD_NAME "\n");
 	return 0;
 }
 
diff --git a/include/configs/mcvevk.h b/include/configs/mcvevk.h
index 09b1eb2..0c5d688 100644
--- a/include/configs/mcvevk.h
+++ b/include/configs/mcvevk.h
@@ -11,6 +11,8 @@
 #include "../../board/denx/mcvevk/iocsr_config.h"
 #include "../../board/denx/mcvevk/pll_config.h"
 
+#define CONFIG_BOARD_NAME "Denx MCVEVK Board"
+
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
 #ifndef MCVEVK_RECOVERY
diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h
index bee328c..2a42389 100644
--- a/include/configs/socfpga_cyclone5.h
+++ b/include/configs/socfpga_cyclone5.h
@@ -11,6 +11,8 @@
 #include "../../board/altera/socfpga/iocsr_config.h"
 #include "../../board/altera/socfpga/pll_config.h"
 
+#define CONFIG_BOARD_NAME "Altera SoCFPGA Cyclone5 Board"
+
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
 #include <config_cmd_default.h>
diff --git a/include/configs/wagabuibui.h b/include/configs/wagabuibui.h
index 458e1a1..c85bee4 100644
--- a/include/configs/wagabuibui.h
+++ b/include/configs/wagabuibui.h
@@ -11,6 +11,8 @@
 #include "../../board/motec/wagabuibui/iocsr_config.h"
 #include "../../board/motec/wagabuibui/pll_config.h"
 
+#define CONFIG_BOARD_NAME "Wagabuibui Board"
+
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
 #include <config_cmd_default.h>

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-10-09  0:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 21:59 [U-Boot] [PATCH] print true board names on socfpga Pavel Machek
2014-10-08 22:07 ` Marek Vasut
2014-10-08 22:12   ` Pavel Machek
2014-10-08 22:24     ` Marek Vasut
2014-10-08 22:48       ` Pavel Machek
2014-10-08 22:55         ` Albert ARIBAUD
2014-10-08 23:04           ` Pavel Machek
2014-10-08 23:22             ` Albert ARIBAUD
2014-10-09  0:20               ` Pavel Machek
2014-10-08 23:35             ` Marek Vasut
2014-10-09  0:07               ` Pavel Machek
2014-10-08 23:34         ` Marek Vasut
2014-10-09  0:16           ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox