From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Wed, 8 Oct 2014 23:59:11 +0200 Subject: [U-Boot] [PATCH] print true board names on socfpga Message-ID: <20141008215911.GA28764@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Make boards with Altera Socfpga print real board names. Signed-off-by: Pavel Machek --- 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 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 -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html