summaryrefslogtreecommitdiff
path: root/board/altera
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-14 08:43:31 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-10-23 07:37:03 +0800
commitca844dd8c55f3b7bbba8144b0dcbf1297fcaece0 (patch)
tree3368801834adde5782ae6a0bf46e3585d0705bb1 /board/altera
parent4395e06eb9907e22869cfe3bf6259a0f0cefca13 (diff)
downloadu-boot-ca844dd8c55f3b7bbba8144b0dcbf1297fcaece0.tar.gz
nios2: convert altera sysid to driver model
Convert altera sysid to driver model with misc uclass. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Chin Liang See <clsee@altera.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/altera')
-rw-r--r--board/altera/nios2-generic/nios2-generic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/altera/nios2-generic/nios2-generic.c b/board/altera/nios2-generic/nios2-generic.c
index cb98a08895..1f10821113 100644
--- a/board/altera/nios2-generic/nios2-generic.c
+++ b/board/altera/nios2-generic/nios2-generic.c
@@ -37,7 +37,10 @@ int board_early_init_f(void)
int checkboard(void)
{
- printf("BOARD : %s\n", CONFIG_BOARD_NAME);
+#ifdef CONFIG_ALTERA_SYSID
+ display_sysid();
+#endif
+ printf("BOARD: %s\n", CONFIG_BOARD_NAME);
return 0;
}