# SPDX-License-Identifier: GPL-2.0

if SOC_SIFIVE

config SIFIVE_CCACHE
	bool "Sifive Composable Cache controller"
	help
	  Support for the composable cache controller on SiFive platforms.

config SIFIVE_FLUSH
	bool "Support Level 2 Cache Controller Flush operation of SiFive Soc"

if SIFIVE_FLUSH

config SIFIVE_FLUSH_START
	hex "Level 2 Cache Flush operation start"
	default 0x40000000 if SOC_STARFIVE
	default 0x80000000

config SIFIVE_FLUSH_SIZE
	hex "Level 2 Cache Flush operation size"
	default 0x400000000 if SOC_STARFIVE
	default 0x800000000

endif # SIFIVE_FLUSH
endif
