Skip to content

Commit

Permalink
RISC-V: Enable SIFIVE_L2_FLUSH for StarFive SoCs
Browse files Browse the repository at this point in the history
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
  • Loading branch information
esmil committed Feb 13, 2022
1 parent 5243663 commit d9a4a3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions arch/riscv/Kconfig.socs
Expand Up @@ -23,6 +23,8 @@ config SOC_STARFIVE
bool "StarFive SoCs"
select PINCTRL
select RESET_CONTROLLER
select SIFIVE_L2
select SIFIVE_L2_FLUSH
select SIFIVE_PLIC
help
This enables support for StarFive SoC platform hardware.
Expand Down
2 changes: 1 addition & 1 deletion drivers/soc/Makefile
Expand Up @@ -23,7 +23,7 @@ obj-y += qcom/
obj-y += renesas/
obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
obj-$(CONFIG_SOC_SAMSUNG) += samsung/
obj-$(CONFIG_SOC_SIFIVE) += sifive/
obj-y += sifive/
obj-y += sunxi/
obj-$(CONFIG_ARCH_TEGRA) += tegra/
obj-y += ti/
Expand Down
2 changes: 1 addition & 1 deletion drivers/soc/sifive/Kconfig
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0

if SOC_SIFIVE
if SOC_SIFIVE || SOC_STARFIVE

config SIFIVE_L2
bool "Sifive L2 Cache controller"
Expand Down

0 comments on commit d9a4a3d

Please sign in to comment.