From c795b0d8f143a52e0b7196c6e353b381ac04f8ae Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Tue, 19 Jan 2010 09:46:49 +0100 Subject: zy1000: print out PCB revision upon boot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simplify debugging a bit. Signed-off-by: Øyvind Harboe --- src/ecosboard.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ecosboard.c') diff --git a/src/ecosboard.c b/src/ecosboard.c index de2a42cc..2e73585d 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) -- cgit v1.2.3