]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Print multiboot reg in decimal
authorMichal Simek <michal.simek@xilinx.com>
Wed, 27 May 2020 10:50:33 +0000 (12:50 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 25 Jun 2020 08:08:04 +0000 (10:08 +0200)
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

index a6cd41af1a0926fd84cbc830008fd438ecb975b1..ebb71729081d5954d237eae446a4f63cf2b0f9b6 100644 (file)
@@ -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;
 }