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> |
||
---|---|---|
.. | ||
bzip2 | ||
dhry | ||
efi | ||
efi_loader | ||
libfdt | ||
lzma | ||
lzo | ||
rsa | ||
tizen | ||
zlib | ||
Kconfig | ||
Makefile | ||
addr_map.c | ||
aes.c | ||
asm-offsets.c | ||
bch.c | ||
bitrev.c | ||
circbuf.c | ||
crc7.c | ||
crc8.c | ||
crc16.c | ||
crc32.c | ||
ctype.c | ||
display_options.c | ||
div64.c | ||
errno.c | ||
errno_str.c | ||
fdtdec.c | ||
fdtdec_common.c | ||
fdtdec_test.c | ||
gunzip.c | ||
gzip.c | ||
hang.c | ||
hashtable.c | ||
initcall.c | ||
ldiv.c | ||
linux_compat.c | ||
linux_string.c | ||
list_sort.c | ||
lmb.c | ||
lz4.c | ||
lz4_wrapper.c | ||
md5.c | ||
membuff.c | ||
net_utils.c | ||
panic.c | ||
physmem.c | ||
qsort.c | ||
rand.c | ||
rbtree.c | ||
rc4.c | ||
sha1.c | ||
sha256.c | ||
slre.c | ||
string.c | ||
strmhz.c | ||
strto.c | ||
time.c | ||
tiny-printf.c | ||
tpm.c | ||
trace.c | ||
uuid.c | ||
vsprintf.c |