u-boot/include/dm
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
..
platform_data
acpi.h
device-internal.h dm: core: Add warnings to private / platform setters 2021-03-26 17:03:09 +13:00
device.h dm: core: Move flags to device-runtime info 2021-03-26 17:03:09 +13:00
device_compat.h
devres.h
fdtaddr.h
lists.h
of.h
of_access.h
of_addr.h dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
of_extra.h of: extra: Introduce ofnode_phy_is_fixed_link() API 2021-04-15 14:22:17 +05:30
ofnode.h dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
pci.h
pinctrl.h
platdata.h dm: core: Drop device_get_by_driver_info() 2021-03-26 17:03:08 +13:00
read.h dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
root.h dm: core: Adjust uclass setup with of-platdata 2021-03-22 19:23:28 +13:00
simple_bus.h dm: core: Correctly read <ranges> of simple-bus 2021-04-15 14:22:17 +05:30
test.h Prepare v2021.04-rc5 2021-03-29 18:00:21 -04:00
uclass-id.h x86: qemu: move QFW to its own uclass 2021-04-12 17:44:55 -04:00
uclass-internal.h dm: core: Add warnings to private / platform setters 2021-03-26 17:03:09 +13:00
uclass.h dm: core: Add macros to access the new linker lists 2021-03-22 19:23:28 +13:00
util.h dm: core: Use separate priv/plat data region 2021-03-26 17:03:09 +13:00