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
..
2016-07-26 09:02:32 -07:00
2016-04-06 10:26:46 -07:00
2016-05-03 17:52:11 -05:00
2016-07-27 14:15:54 -06:00
2016-05-02 18:37:09 -04:00
2016-05-31 09:38:11 +02:00
2016-01-14 22:11:34 -05:00
2015-11-12 08:26:59 +08:00
2015-04-18 11:11:33 -06:00
2016-02-18 21:34:40 +01:00
2016-01-14 22:11:34 -05:00
2014-08-30 07:46:39 -04:00
2014-08-30 07:46:39 -04:00
2015-05-19 13:33:21 -05:00
2014-08-30 07:46:39 -04:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2016-05-24 11:42:03 -05:00
2016-08-12 09:20:27 -06:00
2015-04-18 11:11:33 -06:00
2016-02-06 16:39:31 +01:00
2015-04-18 11:11:33 -06:00
2016-07-06 10:45:00 -05:00
2016-07-06 10:45:00 -05:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2015-12-21 20:01:57 -06:00
2016-02-08 09:48:04 -05:00
2016-02-05 12:47:23 +08:00
2016-01-25 10:40:01 -05:00
2016-05-02 18:37:09 -04:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2016-07-12 17:58:48 +02:00
2015-04-18 11:11:33 -06:00
2016-01-28 18:42:10 -05:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2015-05-20 11:07:27 -05:00
2016-01-14 22:11:34 -05:00
2016-07-15 08:34:34 +02:00
2016-08-08 13:32:57 -04:00
2015-04-18 11:11:33 -06:00
2016-02-06 12:00:59 +01:00
2014-04-18 10:42:30 -04:00
2016-01-14 22:11:34 -05:00
2016-06-12 23:49:38 +02:00
2015-08-11 13:27:15 -05:00
2016-07-15 08:34:34 +02:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2016-01-14 14:08:59 +01:00
2016-04-04 11:21:40 +02:00
2015-04-18 11:11:33 -06:00
2016-05-02 18:37:09 -04:00
2015-11-05 08:22:21 +01:00
2015-04-18 11:11:33 -06:00
2016-02-05 12:47:23 +08:00
2016-02-05 12:47:23 +08:00
2016-05-31 09:38:11 +02:00
2016-02-01 22:14:02 +01:00
2016-02-01 22:14:02 +01:00
2016-02-01 22:14:02 +01:00
2015-04-18 11:11:33 -06:00
2016-07-06 10:45:11 -05:00
2015-07-21 17:39:40 -06:00
2016-01-07 12:18:58 -07:00
2016-05-05 21:39:26 -04:00
2016-05-05 21:39:26 -04:00
2015-04-18 11:11:33 -06:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00
2016-07-31 21:45:46 +02:00
2015-07-21 17:39:40 -06:00
2016-01-28 18:42:10 -05:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2015-11-19 20:27:50 -07:00
2016-04-06 08:34:44 -07:00
2016-04-04 20:28:38 +02:00
2016-05-24 13:17:55 +02:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2016-01-27 15:57:20 +01:00
2016-05-24 11:42:04 -05:00