]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: ehci-mx6: Fix aarch64 build warnings
authorMarek Vasut <marex@denx.de>
Tue, 6 Apr 2021 18:37:16 +0000 (20:37 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 18 Apr 2021 02:29:36 +0000 (04:29 +0200)
commitf444f8986b4c74b63cbf421635387df120d3cb4f
tree82a21f0ea89c6bf349d8d2261cc8ebe0e83ca228
parente87015ff05d49b8e18367d05658cc092b5f94cc8
usb: ehci-mx6: Fix aarch64 build warnings

Fix cast from pointer to integer of different size by casting the
pointer to uintptr_t instead of uint32_t, the former has correct
size on both 32bit and 64bit architectures.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
drivers/usb/host/ehci-mx6.c