On Sun, Sep 12, 2021 at 11:15:12AM +0800, Bin Meng wrote: > 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...@gmail.com> > --- > > drivers/core/fdtaddr.c | 11 ++++++++--- > include/dm/fdtaddr.h | 12 ++++++++++++ > 2 files changed, 20 insertions(+), 3 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycli...@andestech.com>