]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: zynqmp: Fix debug message in zynqmp_get_silicon_idcode_name()
authorMichal Simek <michal.simek@xilinx.com>
Wed, 21 Oct 2020 10:16:50 +0000 (12:16 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:33 +0000 (08:13 +0100)
Fix hex format from 0x%0X to 0x%0x to show correct numbers.

Fixes: fa793165daf7 ("xilinx: zynqmp: refactor silicon name function")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c

index e658245408090a11a12f14243301d90994177dd2..7ba2c789751eb0889657321e4ddbd7aaffb2f66e 100644 (file)
@@ -209,7 +209,7 @@ static char *zynqmp_get_silicon_idcode_name(void)
 
        idcode  = ret_payload[1];
        idcode2 = ret_payload[2] >> ZYNQMP_CSU_VERSION_EMPTY_SHIFT;
-       debug("%s, IDCODE: 0x%0X, IDCODE2: 0x%0X\r\n", __func__, idcode,
+       debug("%s, IDCODE: 0x%0x, IDCODE2: 0x%0x\r\n", __func__, idcode,
              idcode2);
 
        for (i = 0; i < ARRAY_SIZE(zynqmp_devices); i++) {