u-boot/drivers/ata
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
..
ahci-pci.c ata: ahci-pci: Replace magic constant by macro 2022-12-08 10:46:01 -05:00
ahci-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ahci.c ata: pci: enable bus mastering 2023-04-25 15:31:28 -04:00
ahci_mvebu.c sata: ahci_mvebu.c: Enable AHCI/SATA driver for MIPS Octeon 2021-04-23 21:22:55 +02:00
ahci_sunxi.c ata: sunxi: fix debug messages 2021-01-31 23:55:56 +00:00
dwc_ahci.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
dwc_ahsata.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
dwc_ahsata_priv.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_sata.c blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
fsl_sata.h ata: fsl_sata: Remove legacy non-BLK code 2022-06-28 17:03:31 -04:00
Kconfig ata: don't use SYS_SCSI_MAX_SCSI_ID for SATA 2023-04-06 19:10:08 -04:00
libata.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Makefile sata: Drop Silicon Image SIL3114 SATA driver 2022-02-09 09:16:48 -05:00
mtk_ahci.c ahci: mediatek: fix undefined reference of dev_err 2021-03-19 10:35:19 -04:00
sata.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
sata_ceva.c scsi: ceva: Enable PHY and reset support 2022-02-15 13:04:28 +01:00
sata_mv.c blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
sata_sandbox.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
sata_sil.c blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
sata_sil.h ata: sata_sil: Remove useless BLK guard in sata_sil.h 2022-06-28 17:03:32 -04:00