core: ofnode: Fix ofnode_get_addr_index function
Currently the else part of ofnode_get_addr_index function
does not fetch addresses based on the index but rather just
returns the base address. Fix that.
Signed-off-by: NKeerthy <j-keerthy@ti.com>
Showing
想要评论请 注册 或 登录