choice
	prompt "Selected partition.ini"
	depends on PARTITION_INTREE
	help
	  Select partition.ini
	  Partition is very important.
	  User use flash to save binary according to partition.ini.
	  Need to select partition.ini according to using memory.

config RTS3903_PARTITION_NOR_16MB
	bool "partition_nor_16MB.ini"
	help
	  Select nor 16MB partition.ini.
	  Partition is very important.
	  User use flash to save binary according to partition.ini.
	  Need to select partition.ini according to using memory.
	  When using spi nor flash as memory, need to select nor 16MB
	  partition.

config RTS3903_PARTITION_NOR_8MB
	bool "partition_nor_8MB.ini"
	help
	  Select nor 8MB partition.ini.
	  Partition is very important.
	  User use flash to save binary according to partition.ini.
	  Need to select partition.ini according to using memory.
	  When using spi nor flash as memory, need to select nor 8MB
	  partition.

config RTS3903_PARTITION_NAND_128MB
	bool "partition_nand_128MB.ini"
	help
	  Select nand 128MB partition.ini.
	  Partition is very important.
	  User use flash to save binary according to partition.ini.
	  Need to select partition.ini according to using memory.
	  When using spi nand flash as memory, need to select nand
	  128MB partition.

config RTS3903_PARTITION_RAMFS
	bool "partition_ramfs.ini"
	help
	  Select ramfs partition.ini

endchoice

choice
	prompt "DDR Type Selection"
	default RTS3903_BGA234_DDR3_GENERAL
	help
	  Select ddr type

config RTS3903_QFN88_DDR2_256MBIT
	bool "QFN88 DDR2 MCM(256Mbit)"
	depends on TARGET_ASIC
	select QFN88_PACKAGE
	help
	 Enable option for QFN88 DDR2 256Mbit

config RTS3903_QFN88_DDR2_512MBIT
	bool "QFN88 DDR2 MCM(512Mbit)"
	depends on TARGET_ASIC
	select QFN88_PACKAGE
	help
	 Enable option for QFN88 DDR2 512Mbit

config RTS3903_QFN88_DDR3_1GBIT
	bool "QFN88 DDR3 MCM(1Gbit)"
	depends on TARGET_ASIC
	select QFN88_PACKAGE
	help
	 Enable option for QFN88 DDR3 1Gbit

config RTS3903_BGA151_DDR2_512MBIT
	bool "BGA151 DDR2 MCM(512Mbit)"
	depends on TARGET_ASIC
	help
	  Enable option for DDR2 MCM

config RTS3903_BGA234_DDR3_GENERAL
	bool "BGA234 DDR3 External"
	depends on BOARD_RTS3903
	help
	  Enable option for 1Gbit or 2Gbit DDR on demo board

config RTS3903_DDR_H5TQ2G
	bool "DDR3 H5TQ2G(Hynix 256MB)"
	depends on TARGET_FPGA
	help
	  Enable option for DDR H5TQ2G
endchoice

choice
	prompt "DDR Speed Selection"
	default RTS3903_DDR_1066
	depends on TARGET_ASIC
	help
	  Select ddr clock

config RTS3903_DDR_800
	bool "DDR-800"
	depends on (RTS3903_BGA151_DDR2_512MBIT || RTS3903_QFN88_DDR2_512MBIT || RTS3903_QFN88_DDR2_256MBIT)
	help
	  Select ddr dqs clock to 800/2

config RTS3903_DDR_1066
	bool "DDR-1066"
	help
	  Select ddr dqs clock to 1066/2

config RTS3903_DDR_1333
	bool "DDR-1333"
	depends on RTS3903_QFN88_DDR3_1GBIT || RTS3903_BGA234_DDR3_GENERAL
	help
	  Select ddr dqs clock to 1333/2

config RTS3903_DDR_1600
	bool "DDR-1600"
	depends on RTS3903_QFN88_DDR3_1GBIT || RTS3903_BGA234_DDR3_GENERAL
	help
	  Select ddr dqs clock to 1600/2

endchoice

config DDR_POWER_GATING
	tristate "DDR Clock Gating"
	depends on  TARGET_ASIC && (RTS3903_DDR_800 || RTS3903_DDR_1066)
	default n
	help
	 Set use ddr clock gating function or not
