commit | a44397fb7bd87d2be3957a4ba1f520c9fc5ecb24 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sun Sep 12 11:15:12 2021 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Wed Oct 20 10:59:09 2021 +0800 |
tree | 5876e80d9ab8107d72821e93e57df8d7495310ac | |
parent | 40d89adaa0e90ade3213f417da191eafc32bac71 [diff] |
dm: core: Add a new API devfdt_get_addr_index_ptr() At present there is only devfdt_get_addr_ptr() which only returns the first <addr, size> pair in the 'reg' property. Add a new API devfdt_get_addr_index_ptr() to return the indexed pointer. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>