diff options
author | Alexey Brodkin <alexey.brodkin@synopsys.com> | 2018-11-27 09:47:01 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2018-12-03 14:26:53 +0300 |
commit | 6ef705b1575045f7b63bf011a0774228159715b2 (patch) | |
tree | 5fe3560f24686a1152053805b3555c7423d52271 /board/synopsys/axs10x/axs10x.c | |
parent | fb9a46a2ab4bbd6cc8e285d08da56bf3e79710a2 (diff) | |
download | u-boot-6ef705b1575045f7b63bf011a0774228159715b2.tar.gz |
arc: devboards: Implement checkboard()
This allows us to print nice board name on boot.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'board/synopsys/axs10x/axs10x.c')
-rw-r--r-- | board/synopsys/axs10x/axs10x.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/synopsys/axs10x/axs10x.c b/board/synopsys/axs10x/axs10x.c index c95f7af7a7..ffa7c154b5 100644 --- a/board/synopsys/axs10x/axs10x.c +++ b/board/synopsys/axs10x/axs10x.c @@ -109,3 +109,11 @@ void smp_kick_all_cpus(void) writel(cmd, (void __iomem *)AXC003_CREG_CPU_START); } #endif + +int checkboard(void) +{ + printf("Board: ARC Software Development Platform AXS%s\n", + is_isa_arcv2() ? "103" : "101"); + + return 0; +}; |