From: Rick Chen <r...@andestech.com>

Add to print board and bit information message.

Signed-off-by: Rick Chen <r...@andestech.com>
Cc: Greentime Hu <greent...@andestech.com>
---
 board/AndesTech/ax25-ae350/ax25-ae350.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/AndesTech/ax25-ae350/ax25-ae350.c 
b/board/AndesTech/ax25-ae350/ax25-ae350.c
index 5f4ca0f..61ca10b 100644
--- a/board/AndesTech/ax25-ae350/ax25-ae350.c
+++ b/board/AndesTech/ax25-ae350/ax25-ae350.c
@@ -20,6 +20,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
+       printf("Board: %s (%d)\n" , CONFIG_SYS_BOARD, __riscv_xlen);
        gd->bd->bi_boot_params = PHYS_SDRAM_0 + 0x400;
 
        return 0;
-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to