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