mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-12-15 19:51:49 +00:00
SiFive Private L2(PL2) cache is a private cache owned by each hart. Add this driver to support private cache flush operations via the MMIO registers. Co-developed-by: Eric Lin <eric.lin@sifive.com> Signed-off-by: Eric Lin <eric.lin@sifive.com> Co-developed-by: Zong Li <zong.li@sifive.com> Signed-off-by: Zong Li <zong.li@sifive.com> Co-developed-by: Vincent Chen <vincent.chen@sifive.com> Signed-off-by: Vincent Chen <vincent.chen@sifive.com> Co-developed-by: Samuel Holland <samuel.holland@sifive.com> Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Signed-off-by: Nick Hu <nick.hu@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20251114-sifive-cache-drivers-v1-2-8423a721924c@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
28 lines
388 B
Plaintext
28 lines
388 B
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "Cache Support"
|
|
|
|
config FDT_CACHE
|
|
bool "FDT based cache drivers"
|
|
depends on FDT
|
|
select CACHE
|
|
default n
|
|
|
|
if FDT_CACHE
|
|
|
|
config FDT_CACHE_SIFIVE_CCACHE
|
|
bool "SiFive CCACHE FDT cache driver"
|
|
default n
|
|
|
|
config FDT_CACHE_SIFIVE_PL2
|
|
bool "SiFive PL2 FDT cache driver"
|
|
default n
|
|
|
|
endif
|
|
|
|
config CACHE
|
|
bool "Cache support"
|
|
default n
|
|
|
|
endmenu
|