diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-10-24 01:47:39 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-10-23 14:49:21 +0300 |
commit | 74c0ea1e835de38e13be7c8e6440bde94bcc07d0 (patch) | |
tree | fd38a33f2578a3ecd854d92bd03d482b15b6afcd /include/sbi/sbi_hart.h | |
parent | fdf5d5c322533223146d3fac8a6ecfb47f68fb6f (diff) | |
download | opensbi-74c0ea1e835de38e13be7c8e6440bde94bcc07d0.tar.xz |
lib: utils: Implement "ranges" property parsing
The "reg" property in a device node may not be the correct address always.
If a parent node defines a "ranges" property, the child address need to be
translated with respect to parents address. If the ranges property is not
present, it will just use 1:1 translation.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_hart.h')
0 files changed, 0 insertions, 0 deletions