u-boot/drivers/ufs
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
..
cdns-platform.c ufs: Drop dm.h header file 2020-08-03 22:19:54 -04:00
Kconfig lib: fix selection of CONFIG_CHARSET 2022-05-03 21:39:22 +02:00
Makefile ufs: Add glue layer driver for TI J721E devices 2019-10-23 20:47:12 -04:00
ti-j721e-ufs.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ufs-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ufs.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
ufs.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
unipro.h ufs: Add Initial Support for UFS subsystem 2019-10-23 20:47:12 -04:00