]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xpedite1k: Sync checkboard() with other X-ES boards
authorPeter Tyser <ptyser@xes-inc.com>
Sat, 18 Jul 2009 00:01:15 +0000 (19:01 -0500)
committerStefan Roese <sr@denx.de>
Fri, 24 Jul 2009 04:42:32 +0000 (06:42 +0200)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
board/xpedite1k/xpedite1k.c
include/configs/XPEDITE1K.h

index ed864bad6e910c8c341d0f9528542f7deda696ef..4529b7eded877a0c682f334f469e702aa266c6e6 100644 (file)
@@ -112,7 +112,20 @@ int board_early_init_f(void)
 
 int checkboard(void)
 {
-       printf("Board: XES XPedite1000 440GX\n");
+       char *s;
+
+       printf("Board: X-ES %s PMC SBC\n", CONFIG_SYS_BOARD_NAME);
+       printf("       ");
+       s = getenv("board_rev");
+       if (s)
+               printf("Rev %s, ", s);
+       s = getenv("serial#");
+       if (s)
+               printf("Serial# %s, ", s);
+       s = getenv("board_cfg");
+       if (s)
+               printf("Cfg %s", s);
+       printf("\n");
 
        return 0;
 }
index 016fa8a882461eda3686b16332929fdb9e1a2a15..bb6208cce91f73cbb5d66927e063e57513be8685 100644 (file)
@@ -32,6 +32,7 @@
 
 /* High Level Configuration Options */
 #define CONFIG_XPEDITE1K       1               /* Board is XPedite 1000 */
+#define CONFIG_SYS_BOARD_NAME  "XPedite1000"
 #define CONFIG_4xx             1               /* ... PPC4xx family */
 #define CONFIG_440             1
 #define CONFIG_440GX           1               /* 440 GX */