[PATCH 5/9] dm: core: Add a new API devfdt_get_addr_index_ptr()

Leo Liang ycliang at andestech.com
Wed Sep 15 09:21:14 CEST 2021


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.cn at 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 <ycliang at andestech.com> 


More information about the U-Boot mailing list