#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#

mainmenu "Linux Kernel Configuration"

config MN10300
	def_bool y
	select HAVE_OPROFILE
	select HAVE_ARCH_TRACEHOOK

config AM33_2
	def_bool n

config AM33_3
	def_bool n

config AM34_2
	def_bool n

config MMU
	def_bool y

config ZONE_DMA
	def_bool y

config HIGHMEM
	def_bool n

config NUMA
	def_bool n

config UID16
	def_bool y

config RWSEM_GENERIC_SPINLOCK
	def_bool y

config RWSEM_XCHGADD_ALGORITHM
	bool

config GENERIC_HARDIRQS_NO__DO_IRQ
	def_bool y

config GENERIC_CALIBRATE_DELAY
	def_bool y

config GENERIC_FIND_NEXT_BIT
	def_bool y

config GENERIC_HWEIGHT
	def_bool y

config GENERIC_TIME
	def_bool y

config GENERIC_CLOCKEVENTS
	bool
	default y if LOCAL_TIMERS
	default y if !SMP

config GENERIC_CLOCKEVENTS_BROADCAST
	bool

config CEVT_MN10300
	def_bool y
	depends on GENERIC_CLOCKEVENTS

config CSRC_MN10300
	def_bool y
	depends on GENERIC_TIME

config GENERIC_BUG
	def_bool y

config QUICKLIST
	def_bool y

config ARCH_HAS_ILOG2_U32
	def_bool y

config ARCH_HAS_CACHE_LINE_SIZE
	def_bool y

# Use the generic interrupt handling code in kernel/irq/
config GENERIC_HARDIRQS
	def_bool y

config TRACE_IRQFLAGS_SUPPORT
	bool
	default y

config STACKTRACE_SUPPORT
	bool
	default y

config HOTPLUG_CPU
	def_bool n

mainmenu "Panasonic MN10300/AM33 Kernel Configuration"

source "init/Kconfig"

source "kernel/Kconfig.freezer"


menu "Panasonic MN10300 system setup"

choice
	prompt "Unit type"
	default MN10300_UNIT_ASB2303
	help
	  This option specifies board for which the kernel will be
	  compiled. It affects the external peripherals catered for.

config MN10300_UNIT_ASB2303
	bool "ASB2303"

config MN10300_UNIT_ASB2305
	bool "ASB2305"

config MN10300_UNIT_ASB2360
	bool "ASB2360"

config MN10300_UNIT_PH1REF_PRO2
	bool "PH1REF_PRO2"

config MN10300_UNIT_PRO2REF
	bool "PRO2REF"

config MN10300_UNIT_LIEGE_GP
	bool "Liege_GP"

config MN10300_UNIT_ASB2364
	bool "ASB2364"

config MN10300_UNIT_CHIFFON
	bool "Chiffon"

config MN10300_UNIT_SSBP1
	bool "SSBP1"

config MN10300_UNIT_PH1REF_PRO3
	bool "PH1REF_PRO3"

config MN10300_UNIT_M1890
	bool "M1890"

config MN10300_UNIT_SSBP2
	bool "SSBP2"

config MN10300_UNIT_SSBP3
	bool "SSBP3"

config MN10300_UNIT_CHIFFON2
	bool "Chiffon2"

endchoice

choice
	prompt "Processor support"
	default MN10300_PROC_MN103E010
	help
	  This option specifies the processor for which the kernel will be
	  compiled. It affects the on-chip peripherals catered for.

config MN10300_PROC_MN103E010
	bool "MN103E010"
	depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
	select AM33_2
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1
	select MN10300_PROC_HAS_TTYSM2

config MN10300_PROC_MN2WS0030
	bool "MN2WS0030"
	depends on MN10300_UNIT_ASB2360
	select AM34_2
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1
#	select MN10300_PROC_HAS_TTYSM2
#	select MN10300_PROC_HAS_TTYSM3

config MN10300_PROC_MN2WS0038
	bool "MN2WS0038"
	depends on MN10300_UNIT_PH1REF_PRO2 || MN10300_UNIT_PRO2REF
	select AM34_2
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1
#	select MN10300_PROC_HAS_TTYSM2
#	select MN10300_PROC_HAS_TTYSM3

config MN10300_PROC_MN2WS0050
	bool "MN2WS0050"
	depends on MN10300_UNIT_LIEGE_GP || MN10300_UNIT_ASB2364
	select AM34_2
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1
	select MN10300_PROC_HAS_TTYSM2

config MN10300_PROC_MN2WS0120
	bool "MN2WS0120"
	depends on MN10300_UNIT_CHIFFON
	select AM34_2
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1

config MN10300_PROC_MN2WS0044
	bool "MN2WS0044"
	select AM34_2
	depends on MN10300_UNIT_SSBP1
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1
	select MN10300_PROC_HAS_TTYSM2

config MN10300_PROC_MN2WS0140
	bool "MN2WS0140"
	select AM34_2
	depends on MN10300_UNIT_PH1REF_PRO3 || MN10300_UNIT_M1890
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1
#	select MN10300_PROC_HAS_TTYSM2
#	select MN10300_PROC_HAS_TTYSM3
	select PROC_HAS_MN10300_L2CA

config MN10300_PROC_MN2WS0150
	bool "MN2WS0150"
	select AM34_2
	depends on MN10300_UNIT_SSBP2
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1
	select MN10300_PROC_HAS_TTYSM2
	select PROC_HAS_MN10300_L2CA

config MN10300_PROC_MN2WS0170
	bool "MN2WS0170"
	depends on MN10300_UNIT_CHIFFON2
	select AM34_2
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1

config MN10300_PROC_MN2WS0210
	bool "MN2WS0210"
	select AM34_2
	depends on MN10300_UNIT_SSBP3
	select MN10300_PROC_HAS_TTYSM0
	select MN10300_PROC_HAS_TTYSM1
	select MN10300_PROC_HAS_TTYSM2
	select PROC_HAS_MN10300_L2CA

endchoice

config GENERIC_ISA_DMA
	bool
	default n
	depends on AM34_2

config AM34_HAS_BSET_MOV_BUG
	bool
	default y
	depends on MN10300_PROC_MN2WS0030 || MN10300_PROC_MN2WS0038 || \
		MN10300_PROC_MN2WS0050 || MN10300_PROC_MN2WS0120 || \
		MN10300_PROC_MN2WS0044 || MN10300_PROC_MN2WS0140 || \
		MN10300_PROC_MN2WS0150 || MN10300_PROC_MN2WS0170 || \
		MN10300_PROC_MN2WS0210

config AM34_HAS_ATOMIC_REG
	bool
	default y
	depends on AM34_2

choice
	prompt "Atomic Register mapping address"
	default AM34_MMAP_AARU_ADDR2
	depends on AM34_HAS_ATOMIC_REG
	help

config AM34_MMAP_AARU_ADDR1
	bool "RedHat mapping address (0x70000a00)"
	depends on !MN10300_MEM_LAYOUT

config AM34_MMAP_AARU_ADDR2
	bool "Panasonic mapping address (0x00001a00)"

endchoice

config AM34_HAS_ATOMIC_REG_MOV_BUG
	bool
	default y
	depends on AM34_2 && SMP

config AM34_HAS_CACHE_SNOOP
	default y
	bool "CPU Cache Snoop present"
	depends on AM34_2 && !MN10300_PROC_MN2WS0030

config FPU
	bool "FPU present"
	default y
	depends on MN10300_PROC_MN103E010 || MN10300_PROC_MN2WS0030 || \
		MN10300_PROC_MN2WS0038 || MN10300_PROC_MN2WS0050 || \
		MN10300_PROC_MN2WS0120 || MN10300_PROC_MN2WS0044 || \
		MN10300_PROC_MN2WS0140 || MN10300_PROC_MN2WS0150 || \
		MN10300_PROC_MN2WS0170 || MN10300_PROC_MN2WS0210

config PROC_HAS_MN10300_L2CA
	bool
	default n

choice
	prompt "CPU Caching mode"
	default MN10300_CACHE_WBACK
	help
	  This option determines the caching mode for the kernel.

	  Write-Back caching mode involves the all reads and writes causing
	  the affected cacheline to be read into the cache first before being
	  operated upon. Memory is not then updated by a write until the cache
	  is filled and a cacheline needs to be displaced from the cache to
	  make room. Only at that point is it written back.

	  Write-Through caching only fetches cachelines from memory on a
	  read. Writes always get written directly to memory. If the affected
	  cacheline is also in cache, it will be updated too.

	  The final option is to turn of caching entirely.

config MN10300_CACHE_WBACK
	bool "Write-Back"

config MN10300_CACHE_WTHRU
	bool "Write-Through"

config MN10300_CACHE_DISABLED
	bool "Disabled"

endchoice

menu "MN10300 L2CA options"
	depends on PROC_HAS_MN10300_L2CA

config MN10300_L2CA_ON
	bool "Use L2CA (L2 cache)"
	default y
	depends on PROC_HAS_MN10300_L2CA

config MN10300_L2CA_WA
	bool "Write allocate for WB"
	depends on MN10300_L2CA_ON
	default n

config MN10300_L2CA_PRD
	bool "Hardware prefetch"
	depends on MN10300_L2CA_ON
	default n

config MN10300_L2CA_WTG
	bool "Write gathering for WT"
	depends on MN10300_L2CA_ON
	default n

config MN10300_L2CA_BST
	bool "Burst read for UCWG"
	depends on MN10300_L2CA_ON
	default n

endmenu

config MN10300_USE_PIDR
	bool
	default y

config MN10300_ALIGNMENT_FIXUP
	bool "Fixup misalignment exceptions in kernel mode"
	default y
	help
	  MN10300 processors can not load/store information which is not
	  naturally aligned on the bus, i.e., a 4 byte load must start at an
	  address divisible by 4. These non-aligned load/store instructions
	  will be emulated in software if you say here, which has a severe
	  performance impact. This is necessary for correct operation of
	  some network protocols. With an IP-only configuration it is safe
	  to say N, otherwise say Y. It is executed only in kernel mode.

menu "Memory layout options"

config KERNEL_RAM_BASE_ADDRESS
	hex "Base address of kernel RAM"
	default "0x90000000"

config INTERRUPT_VECTOR_BASE
	hex "Base address of vector table"
	default "0x90000000"
	help
	  The base address of the vector table will be programmed into
          the TBR register. It must be on 16MiB address boundary.

config KERNEL_TEXT_ADDRESS
	hex "Base address of kernel"
	default "0x90001000"

config KERNEL_ZIMAGE_BASE_ADDRESS
	hex "Base address of compressed vmlinux image"
	default "0x50700000"

config ZONE_NORMAL_ADDRESS
	hex "Base address of ZONE_NORMAL"
	default "0x90000000" if (MN10300_4GBIT_RAM || MN10300_6GBIT_RAM)
	default "0x92000000" if !(MN10300_4GBIT_RAM || MN10300_6GBIT_RAM)

config BOOT_STACK_OFFSET
	hex
	default	"0xF00"	if SMP
	default	"0xFF0" if !SMP

config BOOT_STACK_SIZE
	hex
	depends on SMP
	default	"0x100"

config MN10300_MEM_LAYOUT
	bool
	default y
endmenu

config MN10300_4GBIT_RAM
	bool
	depends on MN10300_PROC_MN2WS0038 || MN10300_PROC_MN2WS0044
	default y

config MN10300_6GBIT_RAM
	bool
	depends on MN10300_PROC_MN2WS0140 || MN10300_PROC_MN2WS0150 || \
		MN10300_PROC_MN2WS0210
	default y

menu "UART"

config UNIPHIER_UART4
	bool "Support UART4 on SoC"
	depends on AM34_2
	default n

config UNIPHIER_UART5
	bool "Support UART5 on SoC"
	depends on AM34_2
	default n

config UNIPHIER_UART6
	bool "Support UART6 on SoC"
	depends on AM34_2
	default n

config UNIPHIER_UART
	bool
	depends on UNIPHIER_UART4 || UNIPHIER_UART5 || UNIPHIER_UART6
	default y
	select SERIAL_8250

endmenu

config MN2WS_EXMEM
	bool
	depends on MN10300
	default y

config MN2WS_EXMEM_LARGE_PAGE
	bool
	depends on MN2WS_EXMEM
	default y

config MN10300_HAS_USB_READ_BUG
	bool
	default y
	depends on MN10300_UNIT_PH1REF_PRO3	|| MN10300_UNIT_M1890	|| \
		   MN10300_UNIT_SSBP2		|| MN10300_UNIT_SSBP3	|| \
		   MN10300_UNIT_CHIFFON2

config FORCE_MAX_ZONEORDER
	int "MAX_ORDER (11 - 15)"
	range 11 15
	default "11"
	help
	  The kernel memory allocator divides physically contiguous memory
	  blocks into "zones", where each zone is a power of two number of
	  pages.  This option selects the largest power of two that the kernel
	  keeps in the memory allocator.  If you need to allocate very large
	  blocks of physically contiguous memory, then you may need to
	  increase this value.

	  This config option is actually maximum order plus one. For example,
	  a value of 11 means that the largest free memory block is 2^10 pages.

config SMP
	bool "Symmetric multi-processing support"
	default y
	depends on MN10300_PROC_MN2WS0030 || MN10300_PROC_MN2WS0038 || \
		MN10300_PROC_MN2WS0050 || MN10300_PROC_MN2WS0120 || \
		MN10300_PROC_MN2WS0044 || MN10300_PROC_MN2WS0140 || \
		MN10300_PROC_MN2WS0150 || MN10300_PROC_MN2WS0170 || \
		MN10300_PROC_MN2WS0210
	---help---
	  This enables support for systems with more than one CPU. If you have
	  a system with only one CPU, like most personal computers, say N. If
	  you have a system with more than one CPU, say Y.

	  If you say N here, the kernel will run on single and multiprocessor
	  machines, but will use only one CPU of a multiprocessor machine. If
	  you say Y here, the kernel will run on many, but not all,
	  singleprocessor machines. On a singleprocessor machine, the kernel
	  will run faster if you say N here.

	  See also <file:Documentation/i386/IO-APIC.txt>,
	  <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
	  <http://www.tldp.org/docs.html#howto>.

	  If you don't know what to do here, say N.

config NR_CPUS
	int
	depends on SMP
	default "2"

config USE_GENERIC_SMP_HELPERS
	bool
	depends on SMP
	default y

source "kernel/Kconfig.preempt"

config MN10300_CURRENT_IN_E2
	bool "Hold current task address in E2 register"
	depends on !SMP
	default y
	help
	  This option removes the E2/R2 register from the set available to gcc
	  for normal use and instead uses it to store the address of the
	  current process's task_struct whilst in the kernel.

	  This means the kernel doesn't need to calculate the address each time
	  "current" is used (take SP, AND with mask and dereference pointer
	  just to get the address), and instead can just use E2+offset
	  addressing each time.

	  This has no effect on userspace.

config MN10300_USING_JTAG
	bool "Using JTAG to debug kernel"
	default y
	help
	  This options indicates that JTAG will be used to debug the kernel. It
	  suppresses the use of certain hardware debugging features, such as
	  single-stepping, which are taken over completely by the JTAG unit.

menu "RT3 trace options"
config MN_EXPORT_RIM_DBGINFO
	bool
	default y
	depends on RT3_TRACE
	help
	  This option exports the information for RIM debugging.

config RT3_TRACE
	bool "Use real time task trace (real-time task trace)"
	default y
	help
	  This option enables rt3 trace.

config RT3_TRACE_DO_ENABLE
	bool "Enable real time task trace at start time"
	depends on RT3_TRACE
	default y
	help
	  This option enables real time trace at start time.

config RT3_TRACE_LOG_ON_MEM
	bool "Trace log on mem"
	depends on RT3_TRACE
	default n
	help
	  This option enables trace log on memory.

config RT3_TRACE_BUFF_SIZE
	int "Trace log buffer size in KB (256 - 8192)"
	depends on RT3_TRACE_LOG_ON_MEM
	default 1024
	range 256 8192

config RT3_LOG_ISR
	bool "Log interrupt service routine"
	depends on RT3_TRACE
	default n

#config RT3_LOG_LINUX_SYSCALL
#	bool "Log linux syscall (id: 252, 253)"
#	depends on RT3_TRACE
#	default n
#
#config RT3_LOG_EXP
#	bool "Log experimental data (id: ---)"
#	depends on RT3_TRACE
#	default n

endmenu

config MN10300_DF_DEBUG_PATCH
	bool "Enable patch for DebugFactory Builder enhanced debug"
	default n

config LOCAL_TIMERS
	bool "Use local timer interrupts"
	depends on SMP
	default y
	help
	  Enable support for local timers on SMP platforms, rather than the
	  legacy IPI broadcast method.  Local timers allows the system
	  accounting to be spread across the timer interval, preventing a
	  "thundering herd" at every timer tick.

source "kernel/Kconfig.hz"

source "kernel/time/Kconfig"

config MN10300_RTC
	bool "Using MN10300 RTC"
	depends on MN10300_PROC_MN103E010
	default n
	help

	  This option enables support for the RTC, thus enabling time to be
	  tracked, even when system is powered down. This is available on-chip
	  on the MN103E010.

config MN10300_WD_TIMER
	bool "Using MN10300 watchdog timer"
	default y
	help
	  This options indicates that the watchdog timer will be used.

config PCI
	bool "Use PCI"
	depends on MN10300_UNIT_ASB2305
	default y
	help
	  Some systems (such as the ASB2305) have PCI onboard. If you have one
	  of these boards and you wish to use the PCI facilities, say Y here.

	  The PCI-HOWTO, available from
	  <http://www.tldp.org/docs.html#howto>, contains valuable
	  information about which PCI hardware does work under Linux and which
	  doesn't.

source "drivers/pci/Kconfig"

source "drivers/pcmcia/Kconfig"

menu "MN10300 internal serial options"

config MN10300_PROC_HAS_TTYSM0
	bool
	default n

config MN10300_PROC_HAS_TTYSM1
	bool
	default n

config MN10300_PROC_HAS_TTYSM2
	bool
	default n

config MN10300_TTYSM
	bool "Support for ttySM serial ports"
	depends on MN10300
	default y
	select SERIAL_CORE
	help
	  This option enables support for the on-chip serial ports that the
	  MN10300 has available.

config MN10300_TTYSM_CONSOLE
	bool "Support for console on ttySM serial ports"
	depends on MN10300_TTYSM
	select SERIAL_CORE_CONSOLE
	help
	  This option enables support for a console on the on-chip serial ports
	  that the MN10300 has available.

#
# /dev/ttySM0
#
config MN10300_TTYSM0
	bool "Enable SIF0 (/dev/ttySM0)"
	depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
	help
	  Enable access to SIF0 through /dev/ttySM0 or gdb-stub

choice
	prompt "Select the timer to supply the clock for SIF0"
	default MN10300_TTYSM0_TIMER8
	depends on MN10300_TTYSM0

config MN10300_TTYSM0_TIMER8
	bool "Use timer 8 (16-bit)"

config MN10300_TTYSM0_TIMER0
	bool "Use timer 0 (8-bit)"

config MN10300_TTYSM0_TIMER2
	bool "Use timer 2 (8-bit)"

endchoice

#
# /dev/ttySM1
#
config MN10300_TTYSM1
	bool "Enable SIF1 (/dev/ttySM1)"
	depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
	help
	  Enable access to SIF1 through /dev/ttySM1 or gdb-stub

choice
	prompt "Select the timer to supply the clock for SIF1"
	default MN10300_TTYSM1_TIMER12 \
		if !(AM33_2 || AM33_3)
	default MN10300_TTYSM1_TIMER9 \
		if AM33_2 || AM33_3
	depends on MN10300_TTYSM1

config MN10300_TTYSM1_TIMER12
	bool "Use timer 12 (16-bit)"
	depends on !(AM33_2 || AM33_3)

config MN10300_TTYSM1_TIMER9
	bool "Use timer 9 (16-bit)"
	depends on AM33_2 || AM33_3

config MN10300_TTYSM1_TIMER3
	bool "Use timer 3 (8-bit)"
	depends on AM33_2 || AM33_3

endchoice

#
# /dev/ttySM2
#
config MN10300_TTYSM2
	bool "Enable SIF2 (/dev/ttySM2)"
	depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
	help
	  Enable access to SIF2 through /dev/ttySM2 or gdb-stub

choice
	prompt "Select the timer to supply the clock for SIF2"
	default MN10300_TTYSM2_TIMER3 \
		if !(AM33_2 || AM33_3)
	default MN10300_TTYSM2_TIMER10 \
		if AM33_2 || AM33_3
	depends on MN10300_TTYSM2

config MN10300_TTYSM2_TIMER9
	bool "Use timer 9 (16-bit)"
	depends on !(AM33_2 || AM33_3)

config MN10300_TTYSM2_TIMER1
	bool "Use timer 1 (8-bit)"
	depends on !(AM33_2 || AM33_3)

config MN10300_TTYSM2_TIMER3
	bool "Use timer 3 (8-bit)"
	depends on !(AM33_2 || AM33_3)

config MN10300_TTYSM2_TIMER10
	bool "Use timer 10 (16-bit)"
	depends on AM33_2 || AM33_3

endchoice

config MN10300_TTYSM2_CTS
	bool "Enable the use of the CTS line /dev/ttySM2"
	depends on MN10300_TTYSM2 && AM33_2

endmenu

menu "Interrupt request level options"
config GDBSTUB_IRQ_LEVEL
	int "GDBSTUB"
	depends on GDBSTUB
	range 0 1 if LINUX_CLI_LEVEL = 2
	range 0 2 if LINUX_CLI_LEVEL = 3
	range 0 3 if LINUX_CLI_LEVEL = 4
	range 0 4 if LINUX_CLI_LEVEL = 5
	range 0 5 if LINUX_CLI_LEVEL = 6
	default 0

comment "The above must be set to a higher level than IRQ DISABLE and MN10300 SERIAL"

config MN10300_SERIAL_IRQ_LEVEL
	int "MN10300 SERIAL"
	depends on MN10300_TTYSM
	range 1 1 if LINUX_CLI_LEVEL = 2
	range 1 2 if LINUX_CLI_LEVEL = 3
	range 1 3 if LINUX_CLI_LEVEL = 4
	range 1 4 if LINUX_CLI_LEVEL = 5
	range 1 5 if LINUX_CLI_LEVEL = 6
	default 1

comment "The above must be set to a higher level than IRQ DISABLE"

config LINUX_CLI_LEVEL
	int "IRQ DISABLE (2-6)"
	range 2 6
	default 2

comment "The below must be set to a equal to or lower than IRQ DISABLE"

config TIMER_IRQ_LEVEL
	int "KERNEL TIMER"
	range 2 6 if LINUX_CLI_LEVEL = 2
	range 3 6 if LINUX_CLI_LEVEL = 3
	range 4 6 if LINUX_CLI_LEVEL = 4
	range 5 6 if LINUX_CLI_LEVEL = 5
	range 6 6 if LINUX_CLI_LEVEL = 6
	default 4

config PCI_IRQ_LEVEL
	int "PCI"
	depends on PCI
	range 2 6 if LINUX_CLI_LEVEL = 2
	range 3 6 if LINUX_CLI_LEVEL = 3
	range 4 6 if LINUX_CLI_LEVEL = 4
	range 5 6 if LINUX_CLI_LEVEL = 5
	range 6 6 if LINUX_CLI_LEVEL = 6
	default 5

config ETHERNET_IRQ_LEVEL
	int "ETHERNET"
	depends on SMC91X || SMC911X || SMSC911X
	range 2 6 if LINUX_CLI_LEVEL = 2
	range 3 6 if LINUX_CLI_LEVEL = 3
	range 4 6 if LINUX_CLI_LEVEL = 4
	range 5 6 if LINUX_CLI_LEVEL = 5
	range 6 6 if LINUX_CLI_LEVEL = 6
	default 6

config EXT_SERIAL_IRQ_LEVEL
	int "EXTERNAL SERIAL"
#	int
	depends on SERIAL_8250
	range 2 6 if LINUX_CLI_LEVEL = 2
	range 3 6 if LINUX_CLI_LEVEL = 3
	range 4 6 if LINUX_CLI_LEVEL = 4
	range 5 6 if LINUX_CLI_LEVEL = 5
	range 6 6 if LINUX_CLI_LEVEL = 6
	default 6

endmenu

source "mm/Kconfig"

config FREE_UNUSED_MEMMAP
       bool "Free unused memmap page"
       depends on MN10300
       default n

menu "Power management options"
source kernel/power/Kconfig
endmenu

endmenu


menu "Executable formats"

source "fs/Kconfig.binfmt"

endmenu

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"

source "arch/mn10300/Kconfig.debug"

source "security/Kconfig"

source "crypto/Kconfig"

source "lib/Kconfig"

config CAP_OVERCOMMIT
	bool
	default n

config CAP_OVERCOMMIT_SEGV_REBOOT
	bool
	depends on CAP_OVERCOMMIT
	default n

config SYS_GETTIMEOFDAY2_ENABLE
	bool
	default n

config MN10300_DTVDEV_EXIT
	bool
	default n
