#
#	creater by liguangshui 201700607
# 	HIK-BASE menu
#

config HIKBASE_MTD
	bool "MTD interface"
	default y
	depends on MTD
	help
	  Support Hikvsion MTD interface.
	  1. whether MTD partition is protected.
	  2. statistics the flash erase.

config HIKBASE_SPI_SWITCH
	bool "SPI FLASH switch"
	depends on (ARCH_HI3536C || ARCH_HI3531D || ARCH_HI3521D || ARCH_HI3520DV400)
	help
	  Support spi flash switch.

config HIKBASE_SPI_PROTECT
	bool "support spi flash protect"
	depends on (ARCH_HI3536 || ARCH_HI3531D || ARCH_HI3521D || ARCH_HI3520DV400 || ARCH_HI3521A || ARCH_HI3531A)
	help
	  support data protection of the specified flash area. erase-write command
	  will be ignored if the flash has been locked. if you do kown what you do
	  ,just unlock the flash area before erase-writing.
