u-boot/drivers/cache
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
..
cache-l2x0.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
cache-ncore.c drivers: cache: ncore: Disable snoop filter 2022-06-17 16:27:05 +08:00
cache-sifive-ccache.c cache: starfive: Add StarFive JH7110 support 2023-04-20 16:08:44 +08:00
cache-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
cache-v5l2.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
Kconfig riscv: Remove redundant Kconfig "RISCV_NDS_CACHE" 2023-02-17 19:07:48 +08:00
Makefile cache: add sifive composable cache driver 2021-09-07 10:34:29 +08:00
sandbox_cache.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00