ARM: mx6: ddr: Make debug prints work with tiny printf
authorMarek Vasut <marex@denx.de>
Tue, 26 Nov 2019 08:34:49 +0000 (09:34 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:56 +0000 (10:26 +0100)
commit736b491f31ee49689ba80e2ab0897004f4502362
tree51210b7a8168c0f9ade60c7446e3b5716bd8cbc6
parent04886b36eb72f9deda5deaf21b31777fda828af9
ARM: mx6: ddr: Make debug prints work with tiny printf

The %08X format returns just zeroes with tiny printf, which is
horribly confusing, especially when debugging DRAM calibration
problems. Change the format to %08x (with lowercase x), which
behaves correctly with either implementation of printf in SPL.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Eric Nelson <eric@nelint.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Eric Nelson <eric@nelint.com>
arch/arm/mach-imx/mx6/ddr.c