zy1000: print out PCB revision upon boot
Simplify debugging a bit. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
cdcb9b0885
commit
c795b0d8f1
|
@ -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…
Reference in New Issue