[PATCH 1/2] riscv: fu540: Use correct API to get L2 cache controller base address
Rick Chen
rickchen36 at gmail.com
Thu Aug 20 09:24:18 CEST 2020
> From: Bin Meng [mailto:bmeng.cn at gmail.com]
> Sent: Tuesday, August 18, 2020 4:09 PM
> To: Rick Jian-Zhi Chen(陳建志); Pragnesh Patel; U-Boot Mailing List
> Cc: Bin Meng
> Subject: [PATCH 1/2] riscv: fu540: Use correct API to get L2 cache controller base address
>
> From: Bin Meng <bin.meng at windriver.com>
>
> At present fdtdec_get_addr() is used to get L2 cache controller base
> address. This only works for a fixed #address-cells and #size-cells.
> Change to use fdtdec_get_addr_size_auto_parent() instead.
>
> Signed-off-by: Bin Meng <bin.meng at windriver.com>
> ---
>
> arch/riscv/cpu/fu540/cache.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Rick Chen <rick at andestech.com>
More information about the U-Boot
mailing list