forked from Mirrors/opensbi
lib: utils: Add FDT cache library
Add the FDT cache library so we can build up the cache topology via the 'next-level-cache' DT property. Co-developed-by: Vincent Chen <vincent.chen@sifive.com> Signed-off-by: Vincent Chen <vincent.chen@sifive.com> Co-developed-by: Andy Chiu <andy.chiu@sifive.com> Signed-off-by: Andy Chiu <andy.chiu@sifive.com> Signed-off-by: Nick Hu <nick.hu@sifive.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20251020-cache-upstream-v7-2-69a132447d8a@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
6
lib/utils/cache/Kconfig
vendored
6
lib/utils/cache/Kconfig
vendored
@@ -2,6 +2,12 @@
|
||||
|
||||
menu "Cache Support"
|
||||
|
||||
config FDT_CACHE
|
||||
bool "FDT based cache drivers"
|
||||
depends on FDT
|
||||
select CACHE
|
||||
default n
|
||||
|
||||
config CACHE
|
||||
bool "Cache support"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user