[PATCH 1/2] riscv: fu540: Use correct API to get L2 cache controller base address

Pragnesh Patel pragnesh.patel at openfive.com
Thu Aug 20 13:53:31 CEST 2020


>-----Original Message-----
>From: Bin Meng <bmeng.cn at gmail.com>
>Sent: 18 August 2020 13:39
>To: Rick Chen <rick at andestech.com>; Pragnesh Patel
><pragnesh.patel at openfive.com>; U-Boot Mailing List <u-boot at lists.denx.de>
>Cc: Bin Meng <bin.meng at windriver.com>
>Subject: [PATCH 1/2] riscv: fu540: Use correct API to get L2 cache controller base
>address
>
>[External Email] Do not click links or attachments unless you recognize the
>sender and know the content is safe
>
>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: Pragnesh Patel <pragnesh.patel at openfive.com>



More information about the U-Boot mailing list