]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Use optimized version of fdtdec_get_addr_size_no_parent
authorAtish Patra <atish.patra@wdc.com>
Wed, 24 Jun 2020 21:56:15 +0000 (14:56 -0700)
committerAndes <uboot@andestech.com>
Fri, 3 Jul 2020 07:09:00 +0000 (15:09 +0800)
commitedf4fc2bafac18399d07152be51cb77d5d1bb3ac
tree6b3215b7bfe00d245d7d89ceac16c505ae9474e8
parent7eb4bcc3f49c4eb7b494766163a78909f2c1f379
riscv: Use optimized version of fdtdec_get_addr_size_no_parent

fdtdec_get_addr_size_no_parent is not an optimized version if parent
node is already available with the caller.

Use fdtdec_get_addr_size_auto_parent to read the "reg" property

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
arch/riscv/lib/fdt_fixup.c