projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeea875
)
nios2: display altera sysid at startup
author
Thomas Chou
<thomas@wytron.com.tw>
Wed, 16 Dec 2015 08:07:06 +0000
(16:07 +0800)
committer
Thomas Chou
<thomas@wytron.com.tw>
Sat, 19 Dec 2015 01:51:19 +0000
(09:51 +0800)
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>
arch/nios2/cpu/cpu.c
patch
|
blob
|
history
diff --git
a/arch/nios2/cpu/cpu.c
b/arch/nios2/cpu/cpu.c
index f6d5cd399a3acea273007dfe0a28b6ff44c5aebb..be7f99c1de4fb7d6e29f9a8bf3fe4336f50681ea 100644
(file)
--- a/
arch/nios2/cpu/cpu.c
+++ b/
arch/nios2/cpu/cpu.c
@@
-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();