u-boot/drivers/phy/allwinner
Johan Jonker a12a73b664 drivers: use dev_read_addr_ptr when cast to pointer
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU
can expect 64-bit data from the device tree parser, so use
dev_read_addr_ptr instead of the dev_read_addr function in the
various files in the drivers directory that cast to a pointer.
As we are there also streamline the error response to -EINVAL on return.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-05-06 17:28:18 +08:00
..
Kconfig sunxi: Move INITIAL_USB_SCAN_DELAY to driver Kconfig 2022-07-18 23:48:09 +01:00
Makefile phy: sun50i-usb3: Add a driver for the H6 USB3 PHY 2021-09-22 21:29:56 +02:00
phy-sun4i-usb.c phy: sun4i-usb: Do not drive VBUS with external VBUS present 2023-04-28 01:30:40 +01:00
phy-sun50i-usb3.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00