mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-30 10:11:45 +02:00
rockchip: video: vop: Fix format of fbbase in debug string
The debug string printing the device name, framebuffer address and of node is using %lu as format for the framebuffer address, which is not so nice. Change it to %lx. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Tested-by: Peter Robinson <pbrobinson@gmail.com>
This commit is contained in:
parent
4db3926874
commit
3fd64112ce
@ -240,7 +240,7 @@ static int rk_display_init(struct udevice *dev, ulong fbbase, ofnode ep_node)
|
|||||||
ofnode remote;
|
ofnode remote;
|
||||||
const char *compat;
|
const char *compat;
|
||||||
|
|
||||||
debug("%s(%s, %lu, %s)\n", __func__,
|
debug("%s(%s, 0x%lx, %s)\n", __func__,
|
||||||
dev_read_name(dev), fbbase, ofnode_get_name(ep_node));
|
dev_read_name(dev), fbbase, ofnode_get_name(ep_node));
|
||||||
|
|
||||||
ret = ofnode_read_u32(ep_node, "remote-endpoint", &remote_phandle);
|
ret = ofnode_read_u32(ep_node, "remote-endpoint", &remote_phandle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user