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-07-07 09:29:08 -04:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2023-02-13 09:57:49 +01:00
2023-02-13 09:57:49 +01:00
2022-07-19 13:46:28 +02:00
2020-01-27 07:22:41 +01:00
2022-01-13 11:44:07 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2021-02-02 15:33:42 -05:00
2022-12-05 16:06:08 -05:00
2018-05-07 09:34:12 -04:00
2023-04-11 06:43:33 +02:00
2022-06-17 14:12:27 +02:00
2022-06-17 14:12:27 +02:00
2022-06-28 17:04:37 -04:00
2023-04-11 06:51:56 +02:00
2022-12-23 10:15:12 -05:00
2023-05-06 17:28:18 +08:00
2020-12-13 16:51:09 -07:00
2020-07-09 06:02:44 +02:00
2021-09-25 09:46:15 -06:00
2022-11-14 07:24:47 +01:00
2022-11-14 07:21:58 +01:00
2023-04-11 06:44:39 +02:00
2023-01-06 08:14:19 -05:00
2020-12-13 08:00:25 -07:00
2020-12-18 20:32:21 -07:00
2022-05-10 06:47:13 +02:00
2023-04-11 06:45:29 +02:00
2022-05-10 06:47:13 +02:00
2021-02-02 15:33:42 -05:00
2020-04-20 06:52:28 +02:00
2023-04-07 17:13:27 +02:00
2023-01-20 12:27:24 -05:00
2023-02-13 09:57:49 +01:00
2020-12-13 08:00:25 -07:00
2022-09-23 15:09:15 -04:00
2022-12-22 10:31:48 -05:00
2018-05-07 09:34:12 -04:00
2023-01-20 12:27:24 -05:00
2023-02-13 09:57:30 +01:00
2022-12-05 06:00:37 +01:00
2021-02-02 15:33:42 -05:00
2021-10-20 10:59:09 +08:00
2023-01-20 12:27:24 -05:00
2022-02-21 08:39:52 -05:00
2020-01-27 07:23:26 +01:00
2023-02-10 12:50:00 -05:00
2023-04-07 17:13:27 +02:00
2020-12-13 08:00:25 -07:00
2021-01-05 12:26:35 -07:00
2022-06-28 17:04:37 -04:00
2018-05-07 09:34:12 -04:00
2021-01-05 12:24:41 -07:00
2023-02-07 14:33:49 -05:00
2023-01-20 12:27:06 -05:00
2022-09-15 14:59:29 +02:00
2022-04-04 23:24:17 +01:00
2022-04-04 23:24:17 +01:00
2021-07-06 14:07:37 -04:00
2021-02-02 15:33:42 -05:00
2023-05-06 17:28:18 +08:00
2020-12-13 08:00:25 -07:00