if ARCH_NOVATEK
	if TARGET_NA51090_A64 || TARGET_NA51090
		menu "Novatek PCIE features"
		config NVT_PCIE
				bool "NVT PCIE support"

		config NVT_PCIE_DAUGHTER_BRD
				bool "Enable nvt pcie daughter board"
				depends on NVT_PCIE && NVT_IVOT_SOC_UTILS
				default n
				help
				This option is used to enable NVT pcie boot daughter board.

		config NVT_PCIE_EP_VENDOR_ID
				hex "NVT PCIE EP Vendor ID"
				depends on NVT_PCIE_DAUGHTER_BRD
				default 0x1E09
				help
				Overwrite your EP PCIE VID

		config NVT_PCIE_EP_DEV_ID
				hex "NVT PCIE EP Device ID"
				depends on NVT_PCIE_DAUGHTER_BRD
				default 0x0005
				help
				Overwrite your EP PCIE PID

		config NVT_PCIE_EP_BAR0_SIZE
				int "NVT PCIE EP BAR0 size"
				depends on NVT_PCIE_DAUGHTER_BRD
				default 8
				range 0 13
				help
				0:		1 MB (2^20)
				1:		2 MB (2^21)
				N:		2^(20+N)
				8:		256 MB (2^28) (default)
				...
				13:		8 GB (2^33) (max)

		config NVT_PCIE_EP_BAR2_EN
				bool "NVT PCIE EP BAR2 enabled"
				depends on NVT_PCIE_DAUGHTER_BRD
				default y
				help
				Enable/Disable EP PCIE BAR2

		config NVT_PCIE_MAPPING
				bool "Support for pcie memory mapping"
				depends on NVT_PCIE
				default n
				help
				Enabling this will make a U-Boot binary that is capable of being
				pcie initialization and memory mapping

		config NVT_PCIE_TEST_MODE
				int "NVT PCIE test mode"
				default 1
				depends on NVT_PCIE_MAPPING
				help
					0: test RC loopback (test mode)
					1: test RC side in cascade
					2: test EP side in cascade

		config NVT_PCIE_CASCADE
				bool "Enable 63x pcie cascade"
				depends on NVT_PCIE_MAPPING && TARGET_NA51090_A64 && NVT_IVOT_SOC_UTILS && NVT_IVOT_SOC_FW_UPDATE_SUPPORT
				default n
				help
				This option is used to enable NVT pcie boot ep mode.
		endmenu
	endif # TARGET_NA51090 || TARGET_NA51090_A64
endif # ARCH_NOVATEK
