menu "\"Xld\" Design Kit from Sony"
	depends on ARCH_XLD

config MACH_XLD
	bool
	default y

choice
	prompt "Select Xld Board"
	default MACH_XLD_EVB

config MACH_XLD_FPGA
	bool "Support Xld FPGA platform"
	select MTD_XLD_NAND1
	select RTC_DRV_RS5C372
	help
	  Include support for the Xld FPGA board platform.

config MACH_XLD_EVB
	bool "Support Xld EVB platform"
	select MTD_XLD_NAND1
	select MTD_XLD_NAND2
	select RTC_DRV_DS1307 if I2C
	help
	  Include support for the Xld Evaluation Board (EVB) platform.

endchoice

# COMMON
config XLD_PHYS_ADDR
	hex "Physical memory base address"
	default 0x64000000

config XLD_DEBUG
	bool "Debug Output"
	default y

# only EVB
if MACH_XLD_EVB
config ZCOREPCIE
	bool "Enable ZCore PCI-Express Root Device"
	default y
# I2C0
config XLD_ENABLE_I2C_0
	bool "Enable I2C_0"
	default n
endif

# only FPGA
if MACH_XLD_FPGA
config XLD_FPGA_NOR
	bool "Enable Xld FPGA NOR Flash (EXPERIMENTAL)"
	depends on EXPERIMENTAL
	default n
	help
	  Select this if you are using NOR Flash

endif

# workaround
config POSTEDWRITE_WORKAROUND
	bool "posted write workaround enable"
	default y
	help
	  This option enables the workaround for xld posted write
	  erratum.

# PCIe
config ZCOREPCIEROOT_ENABLE_ALLDEV_MEMSPACE
	bool "ZCore PCI-Express enable all devices memory space flag"
	default y
	depends on ZCOREPCIE

config ZCOREPCIEROOT_COMMON_CLOCK
	bool "Enable ZCore PCI-Express common clock"
	default n
	depends on ZCOREPCIE

config ZCOREPCIEROOT_ENABLE_ASPM
	bool "Enable ZCore PCI-Express ASPM mode"
	default n
	depends on ZCOREPCIE

config ZCOREPCIEROOT_DEBUG
	bool "Enable ZCore PCI-Express proc debug interface"
	default n
	depends on ZCOREPCIE

config ZCOREPCIEROOT_GPIO_RESET
	bool "Enable ZCore PCI-Express GPIO reset"
	default y
	depends on ZCOREPCIE

config ZCOREPCIEROOT_GPIO_RESET_CH
	string "ZCore PCI-Express GPIO reset channel [A~I]"
	default "F"
	depends on ZCOREPCIEROOT_GPIO_RESET

config ZCOREPCIEROOT_GPIO_RESET_BIT
	int "ZCore PCI-Express GPIO reset bit [0~7]"
	default 5
	depends on ZCOREPCIEROOT_GPIO_RESET

source	"arch/arm/mach-xld/usb/Kconfig"
endmenu
