]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: ae350: Use fdtdec_get_addr_size_auto_noparent to parse smc reg
authorRick Chen <rick@andestech.com>
Fri, 17 Jul 2020 08:24:44 +0000 (16:24 +0800)
committerAndes <uboot@andestech.com>
Fri, 24 Jul 2020 06:56:24 +0000 (14:56 +0800)
commite8fa43182a487e7542c49408eb2499cc4c0ed53c
tree1b6f2b817d73b94611a3295524cb71733f541cf7
parente491e15a3f4bdf7e22d5e448c3f0cfb733a8dd8b
riscv: ae350: Use fdtdec_get_addr_size_auto_noparent to parse smc reg

Use fdtdec_get_addr_size_auto_noparent to read the "reg" property
instead of fdtdec_get_addr. This will increase the compatibility
of dtb parsing.

Signed-off-by: Rick Chen <rick@andestech.com>
Acked-by: Leo Liang <ycliang@andestech.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Leo Liang <ycliang@andestech.com>
board/AndesTech/ax25-ae350/ax25-ae350.c