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

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Thu Mar 7 08:13:16 UTC 2019


On Wed, Mar 6, 2019 at 10:05 PM Marek Vasut <marex at denx.de> wrote:
>
> The debug print is missing a newline, add it.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Chin Liang See <chin.liang.see at intel.com>
> Cc: Dinh Nguyen <dinguyen at kernel.org>
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> Cc: Tien Fong Chee <tien.fong.chee at intel.com>

Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

> ---
>  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(&socfpga_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
>


More information about the U-Boot mailing list