config ARCH_CXD900X0BASED
	bool
	select CPU_V7
	select ARM_GIC
	select IRQ_PER_CPU
	select ARCH_FLATMEM_ENABLE
	select ARCH_SPARSEMEM_ENABLE
#	select SPARSEMEM_STATIC
	select ARCH_SELECT_MEMORY_MODEL
#	select ZONE_DMA
	select HAVE_CLK
	select COMMON_CLKDEV
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
	select HAVE_SCHED_CLOCK
	select ARM_AMBA
	select AUTO_IRQ_AFFINITY if SMP
	select CLKDEV_LOOKUP
	select EJ
	select ARCH_EJ
	select ARCH_HAS_PM_SUSPEND_DISK
	select ARM_DAP if !CXD900X0_FPGA && !CXD900X0_QEMU
	select HAVE_WATCHDOG
	select MIGHT_HAVE_PCI

if ARCH_CXD900X0BASED

config CXD900X0_PCIE2_DME
	bool
	depends on PCI && !CXD900X0_QEMU
	default y
	help
	  Support for pcie2_dme driver.

menu "CXD900X0 Options"

comment "Memory Layout"
config CXD900X0_SIZE_DDR0
	hex "Size of DDR0"
	default 0x40000000

config CXD900X0_SIZE_DDR1
	hex "Size of DDR1"
	default 0x10000000

config CXD900X0_TEXT_OFFSET
	hex "Text offset of kernel"
	default 0x008000
	help
	  kernel will be compiled at 0x6000_0000 + TEXT_OFFSET

config TASK_MMAP_OFFSET
	hex "task mmap VM area"
	default 0
	help
	  The lower boundary address of the mmap VM area.
	  If this is set to 0, the address will be CONFIG_PAGE_OFFSET/2.

config OVERCOMMIT_ALWAYS
	bool "Always overcommit memory"
	default y

config OOM_CALLBACK
	bool "Enable CALLBACKs if OOM Kill happens"
	default y
	help
	  Print something useful during OOM,
	  and then send SEGV to fall into EM.

config CXD900X0_IOREMAP_RESERVE
	bool "Reserve VM area for ioremap"

comment "Development support"
config CXD900X0_FPGA
	bool "FPGA board"
	default n
	select CXD900X0_SIMPLE_SUSPEND

config CXD900X0_FPGA_REV1_0
	bool "FPGA R1.0"
	depends on CXD900X0_FPGA
	default n

config CXD900X0_FPGA_NOROM
	bool "FPGA board w/o BootROM"
	depends on CXD900X0_FPGA
	default y
	select CXD900X0_SIMPLE_LOADER

config CXD900X0_QEMU
	bool "QEMU"
	default n
	select CXD900X0_SIMPLE_LOADER
	select CXD900X0_SIMPLE_SUSPEND

config CXD900X0_SIMPLE_LOADER
	bool
	default n

config CXD900X0_SIMPLE_SUSPEND
	bool
	default n

config DEBUG_EARLY
	bool
	depends on DEBUG_LL
	default y

config SMP_COMMON_ENTRY
	bool "SMP COMMON Entry"
	depends on SMP || MPCORE_GIC_INIT
	default n
	help
	  If all CPU jumps to kernel entry point on reset, say Y.

config CXD900X0_HWBP
	bool "Hardware breakpoint"
	depends on !CXD900X0_QEMU
	default y

source "arch/arm/mach-cxd900x0/Kconfig.uart"
source "arch/arm/mach-cxd900x0/Kconfig.ether"

endmenu

endif
