Skip to content
Commit fb9bec8e authored by Bin Meng's avatar Bin Meng Committed by Leo Yu-Chi Liang
Browse files

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: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
parent 7e22c859
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment