[PATCH] riscv: ae350: Use fdtdec_get_addr_size_auto_noparent to parse smc reg

Bin Meng bmeng.cn at gmail.com
Fri Jul 17 11:38:19 CEST 2020


On Fri, Jul 17, 2020 at 4:35 PM Andes <uboot at andestech.com> wrote:
>
> From: Rick Chen <rick at andestech.com>
>
> 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 at andestech.com>
> ---
>  board/AndesTech/ax25-ae350/ax25-ae350.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list