zy1000: print out PCB revision upon boot

Simplify debugging a bit.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
__archive__
Øyvind Harboe 2010-01-19 09:46:49 +01:00
parent cdcb9b0885
commit c795b0d8f1
1 changed files with 5 additions and 1 deletions

View File

@ -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)