diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-01-19 09:46:49 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-01-19 10:58:48 +0100 |
commit | c795b0d8f143a52e0b7196c6e353b381ac04f8ae (patch) | |
tree | a2df26a0f113f87d9d546c151f79a0f3d77ba705 /src/ecosboard.c | |
parent | cdcb9b0885cdb2ca2a212536ab68acc2e9bc7fad (diff) | |
download | riscv-openocd-c795b0d8f143a52e0b7196c6e353b381ac04f8ae.zip riscv-openocd-c795b0d8f143a52e0b7196c6e353b381ac04f8ae.tar.gz riscv-openocd-c795b0d8f143a52e0b7196c6e353b381ac04f8ae.tar.bz2 |
zy1000: print out PCB revision upon boot
Simplify debugging a bit.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/ecosboard.c')
-rw-r--r-- | src/ecosboard.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index de2a42c..2e73585 100644 --- 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) |