Sean Anderson
082faeb865
dm: Fix error handling for dev_read_addr_ptr
...
dev_read_addr_ptr had different semantics depending on whether OF_LIVE was
enabled. This patch converts both implementations to return NULL on error,
and converts all call sites which check for FDT_ADDR_T_NONE to check for
NULL instead. This patch also removes the call to map_physmem, since we
have dev_remap_addr* for those semantics.
Signed-off-by: Sean Anderson <seanga2@gmail.com >
Reviewed-by: Bin Meng <bmeng.cn@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
2020-07-01 15:01:21 +08:00
..
2020-05-18 21:19:23 -04:00
2019-07-19 14:24:51 +08:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2018-11-14 09:16:28 -08:00
2020-07-01 15:01:21 +08:00
2020-03-05 18:19:40 +08:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2019-10-25 17:20:44 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-06-27 23:23:00 +08:00
2020-06-04 09:44:09 +08:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-02-05 19:33:46 -07:00
2020-01-16 09:39:45 -05:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-06-24 13:07:57 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-07-01 15:01:21 +08:00
2020-07-01 15:01:21 +08:00
2020-07-01 15:01:21 +08:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:23 -04:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:18 -04:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-07-01 15:01:21 +08:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00