Re: [U-Boot] [PATCH 2/2] ddr: socfpga: Fix newline in debug print on A10

2019-03-07 Thread Chee, Tien Fong
On Thu, 2019-03-07 at 09:13 +0100, Simon Goldschmidt wrote:
> On Wed, Mar 6, 2019 at 10:05 PM Marek Vasut  wrote:
> > 
> > 
> > The debug print is missing a newline, add it.
> > 
> > Signed-off-by: Marek Vasut 
> > Cc: Chin Liang See 
> > Cc: Dinh Nguyen 
> > Cc: Simon Goldschmidt 
> > Cc: Tien Fong Chee 
> Reviewed-by: Simon Goldschmidt 
Reviewed-by: Tien Fong Chee 
> 
> > 
> > ---
> >  drivers/ddr/altera/sdram_arria10.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/ddr/altera/sdram_arria10.c
> > b/drivers/ddr/altera/sdram_arria10.c
> > index 6724eb29f1..be5ce778e8 100644
> > --- a/drivers/ddr/altera/sdram_arria10.c
> > +++ b/drivers/ddr/altera/sdram_arria10.c
> > @@ -270,7 +270,7 @@ static u64 sdram_size_calc(void)
> > size *= (2 << (readl(_ecc_hmc_base->ddrioctrl) &
> >    ALT_ECC_HMC_OCP_DDRIOCTRL_IO_SIZE_MSK));
> > 
> > -   debug("SDRAM size=%llu", size);
> > +   debug("SDRAM size=%llu\n", size);
> > 
> > return size;
> >  }
> > --
> > 2.20.1
> > 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH 2/2] ddr: socfpga: Fix newline in debug print on A10

2019-03-07 Thread Simon Goldschmidt
On Wed, Mar 6, 2019 at 10:05 PM Marek Vasut  wrote:
>
> The debug print is missing a newline, add it.
>
> Signed-off-by: Marek Vasut 
> Cc: Chin Liang See 
> Cc: Dinh Nguyen 
> Cc: Simon Goldschmidt 
> Cc: Tien Fong Chee 

Reviewed-by: Simon Goldschmidt 

> ---
>  drivers/ddr/altera/sdram_arria10.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/ddr/altera/sdram_arria10.c 
> b/drivers/ddr/altera/sdram_arria10.c
> index 6724eb29f1..be5ce778e8 100644
> --- a/drivers/ddr/altera/sdram_arria10.c
> +++ b/drivers/ddr/altera/sdram_arria10.c
> @@ -270,7 +270,7 @@ static u64 sdram_size_calc(void)
> size *= (2 << (readl(_ecc_hmc_base->ddrioctrl) &
>ALT_ECC_HMC_OCP_DDRIOCTRL_IO_SIZE_MSK));
>
> -   debug("SDRAM size=%llu", size);
> +   debug("SDRAM size=%llu\n", size);
>
> return size;
>  }
> --
> 2.20.1
>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 2/2] ddr: socfpga: Fix newline in debug print on A10

2019-03-06 Thread Marek Vasut
The debug print is missing a newline, add it.

Signed-off-by: Marek Vasut 
Cc: Chin Liang See 
Cc: Dinh Nguyen 
Cc: Simon Goldschmidt 
Cc: Tien Fong Chee 
---
 drivers/ddr/altera/sdram_arria10.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ddr/altera/sdram_arria10.c 
b/drivers/ddr/altera/sdram_arria10.c
index 6724eb29f1..be5ce778e8 100644
--- a/drivers/ddr/altera/sdram_arria10.c
+++ b/drivers/ddr/altera/sdram_arria10.c
@@ -270,7 +270,7 @@ static u64 sdram_size_calc(void)
size *= (2 << (readl(_ecc_hmc_base->ddrioctrl) &
   ALT_ECC_HMC_OCP_DDRIOCTRL_IO_SIZE_MSK));
 
-   debug("SDRAM size=%llu", size);
+   debug("SDRAM size=%llu\n", size);
 
return size;
 }
-- 
2.20.1

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