diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-14 00:43:31 (GMT) |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-22 23:37:03 (GMT) |
commit | ca844dd8c55f3b7bbba8144b0dcbf1297fcaece0 (patch) | |
tree | 3368801834adde5782ae6a0bf46e3585d0705bb1 /board/altera/nios2-generic | |
parent | 4395e06eb9907e22869cfe3bf6259a0f0cefca13 (diff) | |
download | u-boot-fsl-qoriq-ca844dd8c55f3b7bbba8144b0dcbf1297fcaece0.tar.xz |
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/nios2-generic')
-rw-r--r-- | board/altera/nios2-generic/nios2-generic.c | 5 |
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 cb98a08..1f10821 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; } |