]> git.baikalelectronics.ru Git - uboot.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)
commitcf61b10898d007c189dae4b0316de88d2aac927b
tree82a21f0ea89c6bf349d8d2261cc8ebe0e83ca228
parent5ee107ce9274028ef8743798e9937e12bfde2cb1
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