if PLAT_RK

choice DDR_TYPE
	prompt "DDR Memory Type"
	default DDR_TYPE_DDR3_DEFAULT 

config DDR_TYPE_DDRII
	bool "DDRII"
	help
	  Support for DDRII memory

config DDR_TYPE_LPDDR
	bool "mobile DDR"
	help
	  Support for mobile DDR, MCP device

config DDR_TYPE_DDR3_800D
	bool "DDR3-800 5-5-5"

config DDR_TYPE_DDR3_800E
	bool "DDR3-800 6-6-6"

config DDR_TYPE_DDR3_1066E
	bool "DDR3-1066 6-6-6"

config DDR_TYPE_DDR3_1066F
	bool "DDR3-1066 7-7-7"

config DDR_TYPE_DDR3_1066G
	bool "DDR3-1066 8-8-8"

config DDR_TYPE_DDR3_1333F
	bool "DDR3-1333 7-7-7"

config DDR_TYPE_DDR3_1333G
	bool "DDR3-1333 8-8-8"

config DDR_TYPE_DDR3_1333H
	bool "DDR3-1333 9-9-9"

config DDR_TYPE_DDR3_1333J
	bool "DDR3-1333 10-10-10"

config DDR_TYPE_DDR3_1600G
	bool "DDR3-1600 8-8-8"

config DDR_TYPE_DDR3_1600H
	bool "DDR3-1600 9-9-9"

config DDR_TYPE_DDR3_1600J
	bool "DDR3-1600 10-10-10"

config DDR_TYPE_DDR3_1600K
	bool "DDR3-1600 11-11-11"

config DDR_TYPE_DDR3_1866J
	bool "DDR3-1866 10-10-10"

config DDR_TYPE_DDR3_1866K
	bool "DDR3-1866 11-11-11"

config DDR_TYPE_DDR3_1866L
	bool "DDR3-1866 12-12-12"

config DDR_TYPE_DDR3_1866M
	bool "DDR3-1866 13-13-13"

config DDR_TYPE_DDR3_2133K
	bool "DDR3-2133 11-11-11"

config DDR_TYPE_DDR3_2133L
	bool "DDR3-2133 12-12-12"

config DDR_TYPE_DDR3_2133M
	bool "DDR3-2133 13-13-13"

config DDR_TYPE_DDR3_2133N
	bool "DDR3-2133 14-14-14"

config DDR_TYPE_DDR3_DEFAULT
	bool "DDR3 (Type default)"

endchoice

config DDR_SDRAM_FREQ
	int "DDR SDRAM frequence (in MHz)"
	default 400

config DDR_FREQ
	bool "Enable DDR frequency scaling"
	select RK_SRAM_DMA if ARCH_RK30

config DDR_TEST
	bool "DDR Test"
	depends on !ARCH_RK29
	select CRC32
	default y

config DVFS
	bool "Enable dvfs"
	depends on REGULATOR&&CPU_FREQ
	default y

if !ARCH_RK29
menu "Support for RK power manage"

config CLK_SWITCH_TO_32K
	bool "Support clock switch to 32.768k"

config RK30_I2C_INSRAM
	bool "Support i2c control interface in sram"
	

endmenu
endif
config WIFI_CONTROL_FUNC
        bool "Enable WiFi control function abstraction"
        help
          Enables Power/Reset/Carddetect function abstraction

config RK29_VPU
	tristate "VPU (Video Processing Unit) service driver in kernel"
	depends on ARCH_RK29 || ARCH_RK30
	default m

config RK29_LAST_LOG
	bool "Save the last kernel log on /proc/last_log"
	depends on DEBUG_KERNEL && PRINTK
	default y
	help
	  It is only intended for debugging.

config RK_EARLY_PRINTK
	bool "Early printk"
	depends on PRINTK && !DEBUG_LL
	default y
	help
	  Say Y here if you want to have an early console using the
	  kernel low-level debugging functions.

config RK_DEBUG_UART
	int "Debug UART"
	default 1 if ARCH_RK29
	default 2 if ARCH_RK30
	help
	  Select a UART for debugging. -1 disable.

config RK_SRAM_DMA
	bool "Sound DMA buffer in internal SRAM"
	depends on ARCH_RK30

endif
