summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorkeith.zhao <keith.zhao@starfivetech.com>2023-02-21 09:08:39 +0300
committerkeith.zhao <keith.zhao@starfivetech.com>2023-02-21 09:08:39 +0300
commit5ce454f6e03b49659f538af6373567d978d67740 (patch)
treedd454f8a7e2c320c1b64089e242de0db44096445 /arch
parent335f6498727e2d2bb5e2236125d593b9d7d197bc (diff)
downloadu-boot-5ce454f6e03b49659f538af6373567d978d67740.tar.xz
riscv:uboot:cache driver
cache driver enabled by config STARFIVE_JH7110_L2CC_FLUSH if not , there is a dump on vf2 Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/cpu/jh7110/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/cpu/jh7110/Makefile b/arch/riscv/cpu/jh7110/Makefile
index a2a3ddd7bb..57a76f06b5 100644
--- a/arch/riscv/cpu/jh7110/Makefile
+++ b/arch/riscv/cpu/jh7110/Makefile
@@ -7,6 +7,6 @@ obj-y += spl.o
else
obj-y += dram.o
obj-y += cpu.o
-obj-y += cache.o
+obj-$(CONFIG_STARFIVE_JH7110_L2CC_FLUSH) += cache.o
endif
obj-y += pll.o