summaryrefslogtreecommitdiff
path: root/lib/utils/cache/objects.mk
diff options
context:
space:
mode:
authorNick Hu <[email protected]>2025-11-14 11:22:46 +0800
committerAnup Patel <[email protected]>2025-12-08 10:01:05 +0530
commitec51e91eaa4e55e6babe0b37387645e75f7ded61 (patch)
treee02edce7ec8f599df4beed17b943a748cdf346ac /lib/utils/cache/objects.mk
parent35aece218a1da347e7c276a18c4ccdbda32ebec9 (diff)
lib: utils/cache: Add SiFive PL2 controller
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 <[email protected]> Signed-off-by: Eric Lin <[email protected]> Co-developed-by: Zong Li <[email protected]> Signed-off-by: Zong Li <[email protected]> Co-developed-by: Vincent Chen <[email protected]> Signed-off-by: Vincent Chen <[email protected]> Co-developed-by: Samuel Holland <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Signed-off-by: Nick Hu <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cache/objects.mk')
-rw-r--r--lib/utils/cache/objects.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/utils/cache/objects.mk b/lib/utils/cache/objects.mk
index 6829a966..37d250d1 100644
--- a/lib/utils/cache/objects.mk
+++ b/lib/utils/cache/objects.mk
@@ -11,4 +11,7 @@ libsbiutils-objs-$(CONFIG_FDT_CACHE) += cache/fdt_cmo_helper.o
carray-fdt_cache_drivers-$(CONFIG_FDT_CACHE_SIFIVE_CCACHE) += fdt_sifive_ccache
libsbiutils-objs-$(CONFIG_FDT_CACHE_SIFIVE_CCACHE) += cache/fdt_sifive_ccache.o
+carray-fdt_cache_drivers-$(CONFIG_FDT_CACHE_SIFIVE_PL2) += fdt_sifive_pl2
+libsbiutils-objs-$(CONFIG_FDT_CACHE_SIFIVE_PL2) += cache/fdt_sifive_pl2.o
+
libsbiutils-objs-$(CONFIG_CACHE) += cache/cache.o