[PATCH] spl_imx_romapi: Remove extraneous character

Peng Fan (OSS) peng.fan at oss.nxp.com
Thu Apr 28 10:59:30 CEST 2022



On 2022/4/21 22:01, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
> 
> Currently the following output is shown:
> ...
> Trying to boot from BOOTROM
> Find img info 0x&48020a00, size 872
> ...
> 
> Remove the extraneous "&" character, so that the correct output
> can be seen.
> 
> Signed-off-by: Fabio Estevam <festevam at denx.de>

Acked-by: Peng Fan <peng.fan at nxp.com>

> ---
>   arch/arm/mach-imx/spl_imx_romapi.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-imx/spl_imx_romapi.c b/arch/arm/mach-imx/spl_imx_romapi.c
> index c47f5a6bdb44..2996d2761690 100644
> --- a/arch/arm/mach-imx/spl_imx_romapi.c
> +++ b/arch/arm/mach-imx/spl_imx_romapi.c
> @@ -306,7 +306,7 @@ static int spl_romapi_load_image_stream(struct spl_image_info *spl_image,
>   	}
>   
>   	imagesize = img_info_size(phdr);
> -	printf("Find img info 0x&%p, size %d\n", phdr, imagesize);
> +	printf("Find img info 0x%p, size %d\n", phdr, imagesize);
>   
>   	if (p - phdr < imagesize) {
>   		imagesize -= p - phdr;
> 


More information about the U-Boot mailing list