diff options
| author | Thomas Chou <[email protected]> | 2015-10-14 08:43:31 +0800 |
|---|---|---|
| committer | Thomas Chou <[email protected]> | 2015-10-23 07:37:03 +0800 |
| commit | ca844dd8c55f3b7bbba8144b0dcbf1297fcaece0 (patch) | |
| tree | 3368801834adde5782ae6a0bf46e3585d0705bb1 /board | |
| parent | 4395e06eb9907e22869cfe3bf6259a0f0cefca13 (diff) | |
nios2: convert altera sysid to driver model
Convert altera sysid to driver model with misc uclass.
Signed-off-by: Thomas Chou <[email protected]>
Acked-by: Chin Liang See <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'board')
| -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 cb98a088955..1f108211137 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; } |
