All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: zynqmp: Print multiboot reg in decimal
@ 2020-06-15 10:08 Michal Simek
  2020-06-25  8:08 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2020-06-15 10:08 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] arm64: zynqmp: Print multiboot reg in decimal
  2020-06-15 10:08 [PATCH] arm64: zynqmp: Print multiboot reg in decimal Michal Simek
@ 2020-06-25  8:08 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2020-06-25  8:08 UTC (permalink / raw)
  To: u-boot

po 15. 6. 2020 v 12:08 odes?latel Michal Simek <michal.simek@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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-25  8:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 10:08 [PATCH] arm64: zynqmp: Print multiboot reg in decimal Michal Simek
2020-06-25  8:08 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.