menu "media mem"

config MEDIA_MEM
	bool "media mem module support"
	default n
	help
	  Say yes here to support media mem module

choice
	prompt "Memory model"
	depends on MEDIA_MEM
	default MEDIA_MEM_64K_PAGES if CONFIG_ARM64_64K_PAGES
	default MEDIA_MEM_16K_PAGES if CONFIG_ARM64_16K_PAGES
	default MEDIA_MEM_4K_PAGES

config MEDIA_MEM_64K_PAGES
	bool "media mem 64K pages"
	depends on ARM64_64K_PAGES
	help
		media mem use 64K pages.

config MEDIA_MEM_16K_PAGES
	bool "media mem 16K pages"
	depends on ARM64_16K_PAGES
	help
		media mem use 16K pages.

config MEDIA_MEM_4K_PAGES
	bool "media mem 4K pages"
	depends on ARM64_4K_PAGES
	help
		media mem use 4K pages.

endchoice

config MEDIA_MEM_64BITS
        bool "media mem module support 64bits"
        default n
        help
          Say yes here to support media mem 64bits

config MEDIA_MEM_NPU
	bool "media mem npu"
	depends on SOCT_SVM && MEDIA_MEM
	default y
	help
		Say yes here to support media mem npu

config MEDIA_MEM_MNTN
	bool "media mem mntn"
	depends on MNTN_BB && MEDIA_MEM
	default y
	help
		Say yes here to support media mem mntn

config MEDIA_MEM_TRACE
	bool "media mem trace"
	depends on MEDIA_MEM
	default n
	help
		Say 'Y' here to support ftrace of media mem.

config MEDIA_MEM_DEBUG
	bool "media mem debug"
	depends on MEDIA_MEM
	default n
	help
		Say 'Y' here if you want to save logs.

config MEDIA_MEM_MODULT
        bool "media mem ko"
        depends on MEDIA_MEM
        default n
        help
                Say 'Y' here if you want to save logs.

-source "drivers/huanglong/media_mem/cma/Kconfig"
-source "drivers/huanglong/media_mem/tee_mem/Kconfig"

endmenu

