Skip to content

Commit

Permalink
nios2: display altera sysid at startup
Browse files Browse the repository at this point in the history
Display altera sysid at startup, which was once removed during
the move.

Signed-off-by: Thomas Chou <[email protected]>
Acked-by: Marek Vasut <[email protected]>
  • Loading branch information
hippo5329 committed Dec 19, 2015
1 parent aeea875 commit 4909f0e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/nios2/cpu/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ int print_cpuinfo(void)
}
#endif /* CONFIG_DISPLAY_CPUINFO */

#ifdef CONFIG_ALTERA_SYSID
int checkboard(void)
{
display_sysid();
return 0;
}
#endif

int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
disable_interrupts();
Expand Down

0 comments on commit 4909f0e

Please sign in to comment.