> From: Bin Meng [mailto:[email protected]] > 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 <[email protected]> > > 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 <[email protected]> > --- > > arch/riscv/cpu/fu540/cache.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Rick Chen <[email protected]>

