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
..
2022-12-08 18:06:27 +02:00
2023-04-16 12:28:06 +02:00
2022-12-05 16:05:38 -05:00
2023-05-06 17:28:18 +08:00
2022-12-23 10:07:03 -05:00
2023-05-06 17:28:18 +08:00
2021-01-18 15:14:34 -05:00
2022-12-05 16:05:38 -05:00
2021-01-05 12:26:35 -07:00
2022-12-05 16:05:38 -05:00
2021-09-28 06:34:45 +02:00
2020-07-11 21:30:21 +09:00
2022-12-05 16:05:38 -05:00
2022-12-05 16:05:38 -05:00
2023-01-20 12:27:06 -05:00
2022-12-22 10:31:49 -05:00
2023-04-16 12:28:06 +02:00
2021-10-06 09:16:23 -04:00
2023-01-20 12:27:24 -05:00
2022-12-23 10:14:50 -05:00
2022-12-23 10:14:51 -05:00
2023-03-02 17:45:57 -05:00
2022-07-13 23:03:37 +02:00
2022-08-22 11:15:15 +02:00
2022-07-13 23:03:37 +02:00
2022-12-05 16:05:38 -05:00
2022-12-23 10:14:51 -05:00
2022-12-05 16:07:13 -05:00
2023-05-06 17:28:18 +08:00
2022-10-09 10:42:26 +02:00
2022-12-10 14:35:55 +01:00
2022-10-09 10:42:26 +02:00
2022-07-22 13:29:06 +02:00
2023-04-22 23:07:57 +02:00
2023-02-27 16:28:30 +01:00
2020-05-18 21:19:18 -04:00
2022-07-22 13:29:06 +02:00
2023-05-06 17:28:17 +08:00
2022-07-22 13:29:06 +02:00
2022-07-22 13:29:06 +02:00
2022-08-22 11:15:24 +02:00
2022-12-05 16:05:38 -05:00
2022-12-10 14:35:54 +01:00
2022-12-05 16:05:38 -05:00
2020-02-05 19:33:46 -07:00
2022-07-22 13:29:06 +02:00
2023-02-27 16:30:13 +01:00
2022-12-05 16:05:38 -05:00
2020-10-14 07:55:56 +02:00
2023-04-16 12:30:46 +02:00
2022-01-19 18:11:34 +01:00
2023-04-16 12:30:46 +02:00
2023-01-08 10:38:50 +01:00
2023-01-08 10:38:50 +01:00
2023-01-08 10:38:50 +01:00
2022-10-06 10:15:34 +02:00
2023-05-06 17:28:17 +08:00
2023-04-19 10:01:42 +02:00
2022-07-18 11:34:26 +01:00
2023-04-28 01:06:57 +01:00
2023-05-06 17:28:18 +08:00
2022-12-05 16:05:38 -05:00
2023-05-06 17:28:18 +08:00