menu "Merlin system type"
	depends on ARCH_MERLIN

	config MACH_MERLIN
		bool "Support Maxim Merlin platform"
		default n
		help
		  Include support for the Maxim Merlin platform.

	choice 
		prompt "Merlin Chip Type"
		depends on ARCH_MERLIN

		config MERLIN_CHIPTYPE_MG3500
			bool "MG3500"
			help
			  Include support for the Maxim Merlin MG3500 chip.

	endchoice

	choice 
		prompt "Merlin Chip Revision"
		depends on MERLIN_CHIPTYPE_MG3500

		config MERLIN_CHIPREV_MG3500_R1
			bool "MG3500 Revision 1"
			depends on MERLIN_CHIPTYPE_MG3500
			help
			  Include support for Revision 1 of the MG3500.

	endchoice 

	config MERLIN_IS_FPGA
		bool "Merlin Board is fpga"
		depends on MACH_MERLIN
		help
		  This enables support for a Merlin FPGA board

endmenu

menu "Merlin core configuration options"
	depends on ARCH_MERLIN

	config MAX_DMAC_CHANNELS
		int "The maximum number of DMA channels dedicated to the DMAC"
		default 4
		help
			The MG3500 has a max of 4 DMA channels available in the
			DMA controller.  Under special circumstances, we can reduce
			this number so that a driver can be the sole owner of a DMA
			channel and handle all operations for that channel. It is 
			highly recommended to leave this at the default value.

	config DMAC_DTCM_DISABLE
		bool "Disable the use of the DTCM in the DMA Controller"
		default n
		help
			For multi-block transfers the DMAC code uses the DTCM to 
			store a link-listed which is an internal representation of
			a transfer that is used directly by the DMAC.  This is
			used as an optimization to speed up multi-block DMA transfers.
			However, these list can be created in RAM if there is special
			need for the DTCM.  Note, that this could have performance 
			effect for multi-block transfers.


endmenu

menu "Merlin core debugging"
	depends on ARCH_MERLIN

	config DW_DMAC_DEBUG
		bool "Enable debug for Designware DMA Controller"
		default n
		help
		  Say Y here if you would like to have debug messages
		  enabled.  Warning, this should not be enable except 
		  when debugging due to possible performance issues.

	config DW_DMAC_DEBUG_LEVEL
		int "Debug log level for Designware DMA Controller"
		depends on DW_DMAC_DEBUG
		default "0"
		help
			Set the initial log level for Designware DMA Controller.
			Change this if you want message when the driver is initialized; 
			otherwise, logging level can be changed via /proc entry.

	config BENCHMARK
		bool "Compile in the benchmark driver"
		default n
		help
			Say Y here if you want entries to be created in /proc for performing
			performance test of basic kernel routines.

endmenu

config MAXIM_I2CMUX
	tristate
	depends on I2C && ARCH_MERLIN
	default n if I2C_DWAPBI2C="n"
	default y if I2C_DWAPBI2C="y"
	default m if I2C_DWAPBI2C="m"
	help
		I2C driver for the multiplexer of I2C_1 in MG3500.


