imx: romapi: fix spurious ampersand in address print
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 20 Jul 2022 07:27:55 +0000 (09:27 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 18 Sep 2022 18:42:56 +0000 (20:42 +0200)
Fix spurious ampersand in address print e.g.

Find img info 0x&480331a0, size 855

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>"
arch/arm/mach-imx/spl_imx_romapi.c

index cc3c125..07bf07b 100644 (file)
@@ -288,7 +288,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;