Skip to content

Commit 971f128

Browse files
committed
soc: sifive: shunt ccache driver to drivers/cache
Move the ccache driver over to drivers/cache, out of the drivers/soc dumping ground, to this new collection point for cache controller drivers. Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Tested-by: Samuel Holland <samuel.holland@sifive.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent b85ea95 commit 971f128

8 files changed

Lines changed: 15 additions & 23 deletions

File tree

MAINTAINERS

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19785,6 +19785,13 @@ S: Supported
1978519785
N: sifive
1978619786
K: [^@]sifive
1978719787

19788+
SIFIVE CACHE DRIVER
19789+
M: Conor Dooley <conor@kernel.org>
19790+
L: linux-riscv@lists.infradead.org
19791+
S: Maintained
19792+
F: Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
19793+
F: drivers/cache/sifive_ccache.c
19794+
1978819795
SIFIVE FU540 SYSTEM-ON-CHIP
1978919796
M: Paul Walmsley <paul.walmsley@sifive.com>
1979019797
M: Palmer Dabbelt <palmer@dabbelt.com>
@@ -19800,13 +19807,6 @@ S: Maintained
1980019807
F: Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
1980119808
F: drivers/dma/sf-pdma/
1980219809

19803-
SIFIVE SOC DRIVERS
19804-
M: Conor Dooley <conor@kernel.org>
19805-
L: linux-riscv@lists.infradead.org
19806-
S: Maintained
19807-
T: git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
19808-
F: Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
19809-
F: drivers/soc/sifive/
1981019810

1981119811
SILEAD TOUCHSCREEN DRIVER
1981219812
M: Hans de Goede <hdegoede@redhat.com>

drivers/cache/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ config AX45MP_L2_CACHE
88
help
99
Support for the L2 cache controller on Andes Technology AX45MP platforms.
1010

11+
config SIFIVE_CCACHE
12+
bool "Sifive Composable Cache controller"
13+
depends on ARCH_SIFIVE || ARCH_STARFIVE
14+
help
15+
Support for the composable cache controller on SiFive platforms.
16+
1117
endmenu

drivers/cache/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
obj-$(CONFIG_AX45MP_L2_CACHE) += ax45mp_cache.o
3+
obj-$(CONFIG_AX45MP_L2_CACHE) += ax45mp_cache.o
4+
obj-$(CONFIG_SIFIVE_CCACHE) += sifive_ccache.o

drivers/soc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ source "drivers/soc/qcom/Kconfig"
2222
source "drivers/soc/renesas/Kconfig"
2323
source "drivers/soc/rockchip/Kconfig"
2424
source "drivers/soc/samsung/Kconfig"
25-
source "drivers/soc/sifive/Kconfig"
2625
source "drivers/soc/sunxi/Kconfig"
2726
source "drivers/soc/tegra/Kconfig"
2827
source "drivers/soc/ti/Kconfig"

drivers/soc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ obj-y += qcom/
2828
obj-y += renesas/
2929
obj-y += rockchip/
3030
obj-$(CONFIG_SOC_SAMSUNG) += samsung/
31-
obj-y += sifive/
3231
obj-y += sunxi/
3332
obj-$(CONFIG_ARCH_TEGRA) += tegra/
3433
obj-y += ti/

drivers/soc/sifive/Kconfig

Lines changed: 0 additions & 10 deletions
This file was deleted.

drivers/soc/sifive/Makefile

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)