Skip to content

Commit 64550d5

Browse files
committed
RISC-V: Enable SIFIVE_L2_FLUSH for StarFive SoCs
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
1 parent 4f0aa18 commit 64550d5

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

arch/riscv/Kconfig.socs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ config SOC_STARFIVE
2323
bool "StarFive SoCs"
2424
select PINCTRL
2525
select RESET_CONTROLLER
26+
select SIFIVE_L2
27+
select SIFIVE_L2_FLUSH
2628
select SIFIVE_PLIC
2729
help
2830
This enables support for StarFive SoC platform hardware.

drivers/soc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ obj-y += qcom/
2222
obj-y += renesas/
2323
obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
2424
obj-$(CONFIG_SOC_SAMSUNG) += samsung/
25-
obj-$(CONFIG_SOC_SIFIVE) += sifive/
25+
obj-y += sifive/
2626
obj-y += sunxi/
2727
obj-$(CONFIG_ARCH_TEGRA) += tegra/
2828
obj-y += ti/

drivers/soc/sifive/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
if SOC_SIFIVE
3+
if SOC_SIFIVE || SOC_STARFIVE
44

55
config SIFIVE_L2
66
bool "Sifive L2 Cache controller"

0 commit comments

Comments
 (0)