public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] print true board names on socfpga
Date: Wed, 8 Oct 2014 23:59:11 +0200	[thread overview]
Message-ID: <20141008215911.GA28764@amd> (raw)

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

             reply	other threads:[~2014-10-08 21:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-08 21:59 Pavel Machek [this message]
2014-10-08 22:07 ` [U-Boot] [PATCH] print true board names on socfpga 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141008215911.GA28764@amd \
    --to=pavel@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox