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