projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdcb9b0
)
zy1000: print out PCB revision upon boot
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 19 Jan 2010 08:46:49 +0000
(09:46 +0100)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 19 Jan 2010 09:58:48 +0000
(10:58 +0100)
Simplify debugging a bit.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/ecosboard.c
patch
|
blob
|
history
diff --git
a/src/ecosboard.c
b/src/ecosboard.c
index de2a42ccaab25924d86bf8b1bab75e4a61d2a4f9..2e73585d0bedfb7f591118961ef80fd5df767182 100644
(file)
--- a/
src/ecosboard.c
+++ b/
src/ecosboard.c
@@
-956,7
+956,11
@@
int main(int argc, char *argv[])
diag_init_putc(_zylinjtag_diag_write_char);
// We want this in the log.
- diag_printf("Zylin ZY1000.\n");
+#ifdef CYGPKG_HAL_NIOS2
+ diag_printf("Zylin ZY1000 PCB revc.\n");
+#else
+ diag_printf("Zylin ZY1000 PCB revb.\n");
+#endif
err = mount("", "/ram", "ramfs");
if (err < 0)