u-boot/drivers/core
Stephen Warren 6e06acb732 fdt: allow fdtdec_get_addr_size_*() to translate addresses
Some code may want to read reg values from DT, but from nodes that aren't
associated with DM devices, so using dev_get_addr_index() isn't
appropriate. In this case, fdtdec_get_addr_size_*() are the functions to
use. However, "translation" (via the chain of ranges properties in parent
nodes) may still be desirable. Add a function parameter to request that,
and implement it. Update all call sites to default to the original
behaviour.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Squashed in build fix from Stephen:
Signed-off-by: Simon Glass <sjg@chromium.org>
2016-08-12 09:20:27 -06:00
..
device-remove.c dm: core: Rename DM_NAME_ALLOCED to DM_FLAG_NAME_ALLOCED 2016-07-14 20:40:24 -06:00
device.c fdt: allow fdtdec_get_addr_size_*() to translate addresses 2016-08-12 09:20:27 -06:00
devres.c devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
dump.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
Kconfig fdt: Support for ISA busses 2016-05-25 23:13:09 +02:00
lists.c dm: core: Don't use device tree with of-platdata 2016-07-14 20:40:24 -06:00
Makefile dm: core: Add SPL Kconfig for REGMAP and SYSCON 2015-12-01 08:07:22 -07:00
regmap.c dm: core: Add an implementation of regmap_init_mem_platdata() 2016-07-14 20:40:24 -06:00
root.c dm: core: Add a function to bind child devices 2016-07-27 14:14:37 -06:00
simple-bus.c dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev() 2016-07-27 14:15:07 -06:00
syscon-uclass.c dm: syscon: Add support for of-platdata 2016-07-14 20:40:24 -06:00
uclass.c dm: core: Add a way to find a device by its driver 2016-07-25 20:46:43 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00