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 <[email protected]>
  • Loading branch information
esmil committed Dec 27, 2021
1 parent c6bb76d commit 1af2a00
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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
Original file line number Diff line number Diff line change
@@ -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 1af2a00

Please sign in to comment.