[PATCH] arm64: zynqmp: Print multiboot reg in decimal

Michal Simek monstr at monstr.eu
Thu Jun 25 10:08:23 CEST 2020


po 15. 6. 2020 v 12:08 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> It is better to print multiboot value in decimal because boot images are
> also composed in decimal not in hex.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  board/xilinx/zynqmp/zynqmp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
> index a6cd41af1a09..ebb71729081d 100644
> --- a/board/xilinx/zynqmp/zynqmp.c
> +++ b/board/xilinx/zynqmp/zynqmp.c
> @@ -354,7 +354,7 @@ static int multi_boot(void)
>
>         multiboot = readl(&csu_base->multi_boot);
>
> -       printf("Multiboot:\t%x\n", multiboot);
> +       printf("Multiboot:\t%d\n", multiboot);
>
>         return 0;
>  }
> --
> 2.27.0
>

Applied.
M


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list