Message ID | 8dee63347d776a2f7c6806aa382872306a40fead.1592215697.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | 3ccea69fc495a8e6c529d6c647af4da3775dcb87 |
Headers | show |
Series | arm64: zynqmp: Print multiboot reg in decimal | expand |
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
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; }
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(-)