From: Øyvind Harboe Date: Tue, 19 Jan 2010 08:46:49 +0000 (+0100) Subject: zy1000: print out PCB revision upon boot X-Git-Tag: v0.4.0-rc2~74 X-Git-Url: https://review.openocd.org/gitweb?a=commitdiff_plain;h=c795b0d8f143a52e0b7196c6e353b381ac04f8ae;p=openocd.git zy1000: print out PCB revision upon boot Simplify debugging a bit. Signed-off-by: Øyvind Harboe --- diff --git a/src/ecosboard.c b/src/ecosboard.c index de2a42ccaa..2e73585d0b 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)