summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/arch-fu540/cache.h
diff options
context:
space:
mode:
authorZong Li <zong.li@sifive.com>2021-09-01 10:01:42 +0300
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-09-07 05:34:29 +0300
commit835210a125bef56dacb687cb9f4deae61e68e79d (patch)
tree1e85616b1df155501a4d9b1b273eff6c71641457 /arch/riscv/include/asm/arch-fu540/cache.h
parent213ed175b0a97313982c8341c34e48f0ea59b60e (diff)
downloadu-boot-835210a125bef56dacb687cb9f4deae61e68e79d.tar.xz
board: sifive: use ccache driver instead of helper function
Invokes the common cache_init function to initialize ccache. Signed-off-by: Zong Li <zong.li@sifive.com> Reviewed-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'arch/riscv/include/asm/arch-fu540/cache.h')
-rw-r--r--arch/riscv/include/asm/arch-fu540/cache.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/riscv/include/asm/arch-fu540/cache.h b/arch/riscv/include/asm/arch-fu540/cache.h
deleted file mode 100644
index 135a17c679..0000000000
--- a/arch/riscv/include/asm/arch-fu540/cache.h
+++ /dev/null
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2020 SiFive, Inc.
- *
- * Authors:
- * Pragnesh Patel <pragnesh.patel@sifve.com>
- */
-
-#ifndef _CACHE_SIFIVE_H
-#define _CACHE_SIFIVE_H
-
-int cache_enable_ways(void);
-
-#endif /* _CACHE_SIFIVE_H */