menu "GZ Trusty"

config HAVE_MTK_ENABLE_GENIEZONE
	bool "HAVE_MTK_ENABLE_GENIEZONE"
	select TRUSTY_INTERRUPT_FIQ_ONLY
	select TRUSTY_INTERRUPT_MAP
	help
	  This is used to support MTK Geniezone.
	  It is used to control MTK_ENABLE_GENIEZONE
	  and it is used in the program for ifdef operations.
	  Use MTK_ENABLE_GENIEZONE instead of TRUSTY to
	  enable it.

config HAVE_MTK_GZ_LOG
	bool "GZ gz_log & trusty_log support"
	help
	 This symbol is used to build gz_log into kernel.
	 The gz_log driver will create a proc node which can only printthe gz
	 message.
	 It will be select if MTK_ENABLE_GENIEZONE is on.
	 If the gz_log driver failed or this symbol is false, the mtk logger
	 can not read the gz message correctly.

config MT_TRUSTY_DEBUGFS
	tristate "Trusty debugfs for Mediatek platforms"

config TRUSTY_INTERRUPT_MAP
	bool "GZ Trusty interrupt map"

config TRUSTY_INTERRUPT_FIQ_ONLY
	bool "GZ Trusty interrupt fiq support"
	help
	  This is used for Trusty to support handling new flow in GICv3
	  If this is selected, NWd will not route IRQ to Secure OS
	  but just fire NOP.
	  This is MUST for us to handle G0S IRQ for Secure OS.

config MTK_NEBULA_VM_SUPPORT
	tristate "Nebula VM OS Enable"
	depends on MTK_ENABLE_GENIEZONE
	select MT_TRUSTY_DEBUGFS if (MTK_ENG_BUILD)
	help
	  This is used for MTK Geniezone to Support Nebula VM OS.
	  Nebula's IRQ will be routed by Linux to Geniezone.
	  Say Y if you would like to enable this feature.
	  If unsure, say N.

endmenu

# GZ Trusty
