Skip to contentSkip to conversation

board: ax25-ae350: Print board information.

PATCH New Andes 3 participants 4 messages Oct 8, 2018 – Feb 6, 2020

lore
Share & tools
lore

Andes

author
#0 lore raw

PATCH 1/1 board: ax25-ae350: Print board information.

From: Rick Chen <[email protected]>

Add to print board and bit information message.

Cc Greentime Hu <[email protected]>
---
 board/AndesTech/ax25-ae350/ax25-ae350.c | 1 +
 1 file changed, 1 insertion(+)
board/AndesTech/ax25-ae350/ax25-ae350.c +1 -0
index 5f4ca0f..61ca10b 100644
@@ -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;
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 board: ax25-ae350: Print board information.

Hi Rick,

When going through all patches in the RISC-V queue, I found this old patch was not applied. Is it still needed?

Anyway, see my review comments below.

Quoted 4 lines · Andes

From: Rick Chen <[email protected]>

Add to print board and bit information message.

nits: please remove the ending period in the commit title

Quoted 12 lines
Cc Greentime Hu <[email protected]>
---
 board/AndesTech/ax25-ae350/ax25-ae350.c | 1 +
 1 file changed, 1 insertion(+)
board/AndesTech/ax25-ae350/ax25-ae350.c +0 -0
index 5f4ca0f..61ca10b 100644

board/AndesTech/ax25-ae350/ax25-ae350.c DECLARE_GLOBAL_DATA_PTR; · line 23

Quoted 4 lines
board/AndesTech/ax25-ae350/ax25-ae350.c +1 -0
@@ -20,6 +20,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
+       printf("Board: %s (%d)\n" , CONFIG_SYS_BOARD, __riscv_xlen);

nits: remove the space after \n", and one space before CONFIG_SYS_BOARD.

board/AndesTech/ax25-ae350/ax25-ae350.c DECLARE_GLOBAL_DATA_PTR;

Quoted 4 lines
board/AndesTech/ax25-ae350/ax25-ae350.c +0 -1
        gd->bd->bi_boot_params = PHYS_SDRAM_0 + 0x400;
 
        return 0;
--

Regards,
Bin

#2 lore raw

PATCH 1/1 board: ax25-ae350: Print board information.

Hi Bin

Quoted 4 lines

Hi Rick,

When going through all patches in the RISC-V queue, I found this old patch was not applied. Is it still needed?

It is unnecessary now.

Quoted 2 lines

Anyway, see my review comments below.

Thanks for your review!

Thanks
Rick

Quoted 35 lines · Andes
Quoted 4 lines

From: Rick Chen <[email protected]>

Add to print board and bit information message.

nits: please remove the ending period in the commit title

Quoted 12 lines
Cc Greentime Hu <[email protected]>
---
 board/AndesTech/ax25-ae350/ax25-ae350.c | 1 +
 1 file changed, 1 insertion(+)
board/AndesTech/ax25-ae350/ax25-ae350.c +0 -0
index 5f4ca0f..61ca10b 100644

board/AndesTech/ax25-ae350/ax25-ae350.c DECLARE_GLOBAL_DATA_PTR; · line 23

Quoted 4 lines
board/AndesTech/ax25-ae350/ax25-ae350.c +1 -0
@@ -20,6 +20,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
+       printf("Board: %s (%d)\n" , CONFIG_SYS_BOARD, __riscv_xlen);

nits: remove the space after \n", and one space before CONFIG_SYS_BOARD.

board/AndesTech/ax25-ae350/ax25-ae350.c DECLARE_GLOBAL_DATA_PTR;

Quoted 4 lines
board/AndesTech/ax25-ae350/ax25-ae350.c +0 -1
        gd->bd->bi_boot_params = PHYS_SDRAM_0 + 0x400;
 
        return 0;
--

Regards,
Bin

#3 lore raw

PATCH 1/1 board: ax25-ae350: Print board information.

Hi Rick,

Quoted 9 lines · Rick Chen

Hi Bin

Quoted 4 lines

Hi Rick,

When going through all patches in the RISC-V queue, I found this old patch was not applied. Is it still needed?

It is unnecessary now.

Thanks. I updated the patch status on patchwork.

Quoted 6 lines
Quoted 3 lines

Anyway, see my review comments below.

Thanks for your review!

Regards,
Bin