u-boot/doc/develop/driver-model
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
..
bind.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
debugging.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
design.rst dm: doc: Update documentation for new driver model schema 2023-02-14 09:43:27 -07:00
ethernet.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
fdt-fixup.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
fs_firmware_loader.rst dm: doc: Update documentation for new driver model schema 2023-02-14 09:43:27 -07:00
i2c-howto.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
index.rst drivers/mtd/nvmxip: introduce NVM XIP block storage emulation 2023-04-27 17:01:14 -04:00
livetree.rst drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
migration.rst global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
nvme.rst bootstd: Update documentation for new features 2023-01-23 18:11:41 -05:00
nvmxip.rst sandbox64: add support for NVMXIP QSPI 2023-04-27 17:01:14 -04:00
of-plat.rst dm: doc: Update documentation for new driver model schema 2023-02-14 09:43:27 -07:00
pci-info.rst dm: doc: Update documentation for new driver model schema 2023-02-14 09:43:27 -07:00
pmic-framework.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
remoteproc-framework.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
serial-howto.rst dm: doc: Update documentation for new driver model schema 2023-02-14 09:43:27 -07:00
soc-framework.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
spi-howto.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
usb-info.rst doc: Move driver model docs under develop/ 2021-03-26 17:03:10 +13:00
virtio.rst doc: develop: Convert README.virtio to reST 2021-05-10 13:56:12 +08:00