Browse Source

zy1000: print out PCB revision upon boot

Simplify debugging a bit.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
tags/v0.4.0-rc2
Øyvind Harboe 12 years ago
parent
commit
c795b0d8f1
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/ecosboard.c

+ 5
- 1
src/ecosboard.c 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)


Loading…
Cancel
Save