diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-10-21 12:16:50 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-10-27 08:13:33 +0100 |
commit | 16df2f1edb82124e21da32404771d8947882ebe2 (patch) | |
tree | 14824865f41862f022b30b6417eade29de44d4be /board | |
parent | d026aa1de3330face74ccecb265bcfe722bcd20a (diff) | |
download | u-boot-16df2f1edb82124e21da32404771d8947882ebe2.zip u-boot-16df2f1edb82124e21da32404771d8947882ebe2.tar.gz u-boot-16df2f1edb82124e21da32404771d8947882ebe2.tar.bz2 |
xilinx: zynqmp: Fix debug message in zynqmp_get_silicon_idcode_name()
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index e658245..7ba2c78 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -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++) { |