2
0
Fork 0
mirror of https://github.com/AsahiLinux/u-boot synced 2024-12-14 15:23:07 +00:00
u-boot/drivers/video/stm32
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 video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
Makefile video: add support of STM32 MIPI DSI controller driver 2019-10-13 23:38:12 +02:00
stm32_dsi.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
stm32_ltdc.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00