mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
nios2: display altera sysid at startup
Display altera sysid at startup, which was once removed during the move. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
aeea8754ff
commit
4909f0e16a
@ -21,6 +21,14 @@ int print_cpuinfo(void)
|
|||||||
}
|
}
|
||||||
#endif /* CONFIG_DISPLAY_CPUINFO */
|
#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[])
|
int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||||
{
|
{
|
||||||
disable_interrupts();
|
disable_interrupts();
|
||||||
|
Loading…
Reference in New Issue
Block a user