#
# FMP controller drivers
#
config EXYNOS_FMP
	tristate "Samsung EXYNOS FMP driver"
	help
	  Say yes here to build support for FMP (Flash Memory Protector)
	  If unsure, say N.

	  To compile this driver as a module, choose M here

config EXYNOS_FMP_FIPS
	bool "Samsung EXYNOS FMP Driver for FIPS"
	depends on EXYNOS_FMP
	default y
	help
	  Say yes here to build support for FMP (Flash Memory Protector)
	  FIPS validation driver for functional test.
	  If unsure, say N.

config EXYNOS_FMP_INTEGRITY_TEST
	bool "Samsung EXYNOS FMP Driver for SW Integrity Test"
	depends on EXYNOS_FMP_FIPS && CFI_CLANG
	default y
	help
	  Say yes here to build support for FMP (Flash Memory Protector)
	  Integrity Test validataion.

choice
	prompt "Option for self-test failure"
	depends on EXYNOS_FMP_FIPS
	default PANIC_FOR_SELFTEST_FAIL

config NODE_FOR_SELFTEST_FAIL
	bool "Set fips fmp node when self-test fails"
	depends on EXYNOS_FMP_FIPS
	help
	  Choose here to select that fips fmp node was set to zero
	  when FMP self-test fails.

config PANIC_FOR_SELFTEST_FAIL
	bool "Panic when self-test fails"
	depends on EXYNOS_FMP_FIPS
	help
	  Choose here to select that kernel panic occurs when FMP self-test fails.

endchoice