diff mbox series

[U-Boot] board: ax25-ae350: Print board information.

Message ID 20181008054133.20627-1-uboot@andestech.com
State Not Applicable
Delegated to: Andes
Headers show
Series [U-Boot] board: ax25-ae350: Print board information. | expand

Commit Message

Andes Oct. 8, 2018, 5:41 a.m. UTC
From: Rick Chen <rick@andestech.com>

Add to print board and bit information message.

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

Comments

Bin Meng Feb. 4, 2020, 3:39 p.m. UTC | #1
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.

On Mon, Oct 8, 2018 at 1:43 PM Andes <uboot@andestech.com> wrote:
>
> From: Rick Chen <rick@andestech.com>
>
> Add to print board and bit information message.

nits: please remove the ending period in the commit title

>
> Signed-off-by: Rick Chen <rick@andestech.com>
> Cc: Greentime Hu <greentime@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);

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

>         gd->bd->bi_boot_params = PHYS_SDRAM_0 + 0x400;
>
>         return 0;
> --

Regards,
Bin
Rick Chen Feb. 6, 2020, 1:41 a.m. UTC | #2
Hi Bin

> 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.

>
> Anyway, see my review comments below.

Thanks for your review!

Thanks
Rick


>
> On Mon, Oct 8, 2018 at 1:43 PM Andes <uboot@andestech.com> wrote:
> >
> > From: Rick Chen <rick@andestech.com>
> >
> > Add to print board and bit information message.
>
> nits: please remove the ending period in the commit title
>
> >
> > Signed-off-by: Rick Chen <rick@andestech.com>
> > Cc: Greentime Hu <greentime@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);
>
> nits: remove the space after \n", and one space before CONFIG_SYS_BOARD.
>
> >         gd->bd->bi_boot_params = PHYS_SDRAM_0 + 0x400;
> >
> >         return 0;
> > --
>
> Regards,
> Bin
Bin Meng Feb. 6, 2020, 5:13 a.m. UTC | #3
Hi Rick,

On Thu, Feb 6, 2020 at 9:41 AM Rick Chen <rickchen36@gmail.com> wrote:
>
> Hi Bin
>
> > 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.

>
> >
> > Anyway, see my review comments below.
>
> Thanks for your review!
>

Regards,
Bin
diff mbox series

Patch

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;