Hi Bin, On Sat, 11 Sept 2021 at 21:15, Bin Meng <bmeng...@gmail.com> 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(-)
Please do update the tests for this new function.