Bin Meng
80279fa129
dm: core: Correctly read <ranges> of simple-bus
...
At present we decode simple bus <ranges> using the following assumption:
- parent #address-cells 1
- child #address-cells 1
- child #size-cells 1
However this might not always be the case.
Update to use fdt_addr_t and fdt_size_t in 'struct simple_bus_plat', and
use fdt_read_ranges() to correctly decode it according to the actual
parent and child #address-cells / #size-cells under a Kconfig option
CONFIG_SIMPLE_BUS_CORRECT_RANGE which can be turned on for any board
that needs it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com >
2021-04-15 14:22:17 +05:30
..
2021-02-18 11:37:26 +01:00
2021-04-10 07:59:30 -04:00
2020-12-13 08:00:25 -07:00
2021-02-02 15:33:42 -05:00
2021-03-27 15:04:31 +13:00
2021-02-02 15:33:42 -05:00
2021-03-22 19:23:27 +13:00
2021-03-08 10:32:34 +01:00
2021-02-02 15:33:42 -05:00
2021-04-08 15:37:30 +08:00
2021-04-15 14:22:17 +05:30
2021-02-02 15:33:42 -05:00
2021-04-08 20:29:53 +02:00
2021-04-10 08:05:07 -04:00
2021-02-02 15:33:42 -05:00
2021-03-25 20:15:30 +01:00
2021-01-18 15:23:06 -05:00
2021-04-12 17:44:55 -04:00
2021-04-12 17:45:40 -04:00
2021-03-08 10:59:10 +08:00
2021-04-12 17:45:40 -04:00
2021-02-02 15:33:42 -05:00
2021-04-12 17:45:40 -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
2021-01-13 09:52:58 +01:00
2021-04-12 17:45:40 -04:00
2021-04-10 08:01:00 -04:00
2021-04-12 17:17:11 -04:00
2021-01-05 12:24:40 -07:00
2021-04-15 14:22:17 +05:30
2021-03-19 10:36:55 -04:00
2020-12-13 08:00:25 -07:00
2021-04-12 17:17:11 -04:00
2021-02-02 15:33:42 -05:00
2021-02-15 10:16:45 -05:00
2021-04-06 16:33:19 +12:00
2021-04-12 17:17:11 -04:00
2021-04-10 16:08:39 +02:00
2021-04-10 08:04:42 -04:00
2021-04-09 13:10:59 -04:00
2021-02-15 10:16:45 -05:00
2021-04-08 15:37:29 +08:00
2021-03-02 13:53:48 +01:00
2021-04-12 17:44:55 -04:00
2020-12-13 16:51:09 -07:00
2021-04-10 07:59:35 -04:00
2021-02-15 10:16:45 -05:00
2020-12-13 16:51:09 -07:00
2021-03-27 13:59:36 +13:00
2021-03-31 09:47:30 -04:00
2021-02-02 15:33:42 -05:00
2020-12-13 08:00:25 -07:00
2021-03-15 12:15:38 -04:00
2021-04-12 17:44:55 -04:00
2021-03-01 10:21:36 +01:00
2021-04-08 15:37:29 +08:00
2021-03-13 13:14:52 -05:00
2020-12-13 16:51:09 -07:00
2021-04-12 17:44:55 -04:00
2021-04-10 17:09:59 +02:00
2021-03-05 10:25:43 +05:30
2021-01-23 11:30:31 +01:00
2020-12-13 16:51:08 -07:00
2021-04-15 14:22:17 +05:30
2021-02-02 15:33:42 -05:00
2020-11-06 10:18:20 +08:00
2021-03-27 15:04:31 +13:00