config MTK_AEE_FEATURE
	tristate "Enable Android Exception Enhancement"
	select FIQ_GLUE if !TRUSTONIC_TEE_SUPPORT && !ARM_PSCI && !TRUSTY
	select FTRACE
	help
	  AEE (Android Exception Engine) that designed by  Mediatek is an
	  exception catching and debugging information generation mechanism.
	  It can collect and dump information to filesystem
	  (/sdcard/mtklog/aee_exp)  when exceptions occur(E.g. kernel
	  panic/android system server crash and ..)

config MTK_AEE_AED
	tristate "Enable AEE Kernel Exception Report Daemon"
	depends on MTK_AEE_FEATURE
	help
	  MTK_AEE_AED is the kernel config of aed, which is the base support for
	  aee features. Such as:
	  aed debug: some test case for aee driver itself
	  aed main: aed main function and ioctl for user space aee
	  monitor hang: detect hang feature...

config MTK_AEE_IPANIC
	tristate "Enable AEE Kernel Panic Dump"
	depends on MTK_AEE_FEATURE
	help
	  MTK_AEE_IPANIC is the kernel config of ipanic feature designed by
	  MTK, which is the enhancement of kernel defaut panic flow, and
	  combined with aee. It will do some hook function and get some
	  kernel panic information for debug.

config MTK_AEE_HANGDET
	tristate "Enable AEE Kernel Hang Detector"
	depends on MTK_AEE_FEATURE
	help
	  MTK_AEE_HANGDET is the kernel config of hang detector feature
	  designed by MTK, which is the mechanism to check if each cpu
	  is alived. When cpu hang is detected, raise excetpion.

config MTK_RAM_CONSOLE
        bool "mt ram console"
        help
          ram_console is a feature which will record some
          debug information and can be read after reboot.
          It can be configured as SRAM or DRAM.
          Each ram type should be set address and size.

config MTK_RAM_CONSOLE_USING_SRAM
	bool "Using SRAM as ram console storage"
	depends on MTK_RAM_CONSOLE
	help
	  If set this config as yes, ram_console will use
	  SRAM as its storage, all ram_console content
	  will write into SRAM.
	  You should set SRAM address and size as belows.

config MTK_RAM_CONSOLE_USING_DRAM
	bool "Using DRAM as ram console storage"
	depends on MTK_RAM_CONSOLE
	help
	  If set this config as yes, ram_console will use
	  DRAM as its storage, all ram_console content
	  will write into DRAM.
	  You should set DRAM address and size as belows.

config MTK_RAM_CONSOLE_DRAM_SIZE
	hex "MTK RAM console dram address"
	default 0
	depends on MTK_RAM_CONSOLE
	help
	  DRAM ram_console memory allocate size.

config MTK_RAM_CONSOLE_DRAM_ADDR
	hex "MTK RAM console dram size"
	default 0
	depends on MTK_RAM_CONSOLE
	help
	  DRAM ram_console address.

config MTK_AEE_UT
	tristate "control AED debug file"
	help
	  MTK_AEE_UT is the kernel config of aed-debug.c
	  aed-debug.c is AEE UT test case file, just for generate some vendor
	  exception to test AEE dump flow, include in KE, HWT, HW_reboot, EE,
	  and kernelAPI exception