2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see Documentation/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
mainmenu "Linux/SH64 Kernel Configuration"
|
|
|
|
|
|
|
|
config SUPERH
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SUPERH64
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MMU
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-05-14 08:55:35 +08:00
|
|
|
config QUICKLIST
|
|
|
|
def_bool y
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
[PATCH] bitops: sh64: use generic bitops
- remove __{,test_and_}{set,clear,change}_bit() and test_bit()
- remove __ffs()
- remove find_{next,first}{,_zero}_bit()
- remove generic_hweight{32,16,8}()
- remove sched_find_first_bit()
- remove generic_ffs()
- remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit()
- remove ext2_{set,clear}_bit_atomic()
- remove minix_{test,set,test_and_clear,test,find_first_zero}_bit()
- remove generic_fls()
- remove generic_fls64()
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Richard Curnow <rc@rc0.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 17:39:37 +08:00
|
|
|
config GENERIC_FIND_NEXT_BIT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GENERIC_HWEIGHT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2007-10-01 16:45:24 +08:00
|
|
|
config GENERIC_HARDIRQS
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GENERIC_IRQ_PROBE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
|
|
bool
|
|
|
|
|
2006-12-08 18:37:49 +08:00
|
|
|
config ARCH_HAS_ILOG2_U32
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_HAS_ILOG2_U64
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2007-07-31 12:11:25 +08:00
|
|
|
config ARCH_NO_VIRT_TO_BUS
|
|
|
|
def_bool y
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
source init/Kconfig
|
|
|
|
|
|
|
|
menu "System type"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SuperH system type"
|
|
|
|
default SH_SIMULATOR
|
|
|
|
|
|
|
|
config SH_SIMULATOR
|
|
|
|
bool "Simulator"
|
|
|
|
|
|
|
|
config SH_CAYMAN
|
|
|
|
bool "Cayman"
|
|
|
|
|
|
|
|
config SH_HARP
|
|
|
|
bool "ST50-Harp"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Processor family"
|
|
|
|
default CPU_SH5
|
|
|
|
|
|
|
|
config CPU_SH5
|
|
|
|
bool "SH-5"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Processor type"
|
|
|
|
|
|
|
|
config CPU_SUBTYPE_SH5_101
|
|
|
|
bool "SH5-101"
|
|
|
|
depends on CPU_SH5
|
|
|
|
|
|
|
|
config CPU_SUBTYPE_SH5_103
|
|
|
|
bool "SH5-103"
|
|
|
|
depends on CPU_SH5
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Endianness"
|
|
|
|
default LITTLE_ENDIAN
|
|
|
|
|
|
|
|
config LITTLE_ENDIAN
|
|
|
|
bool "Little-Endian"
|
|
|
|
|
|
|
|
config BIG_ENDIAN
|
|
|
|
bool "Big-Endian"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config SH_FPU
|
|
|
|
bool "FPU support"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SH64_FPU_DENORM_FLUSH
|
|
|
|
depends on SH_FPU
|
|
|
|
bool "Flush floating point denorms to zero"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Page table levels"
|
|
|
|
default SH64_PGTABLE_2_LEVEL
|
|
|
|
|
|
|
|
config SH64_PGTABLE_2_LEVEL
|
|
|
|
bool "2"
|
|
|
|
|
|
|
|
config SH64_PGTABLE_3_LEVEL
|
|
|
|
bool "3"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "HugeTLB page size"
|
|
|
|
depends on HUGETLB_PAGE && MMU
|
|
|
|
default HUGETLB_PAGE_SIZE_64K
|
|
|
|
|
|
|
|
config HUGETLB_PAGE_SIZE_64K
|
|
|
|
bool "64K"
|
|
|
|
|
|
|
|
config HUGETLB_PAGE_SIZE_1MB
|
|
|
|
bool "1MB"
|
|
|
|
|
|
|
|
config HUGETLB_PAGE_SIZE_512MB
|
|
|
|
bool "512MB"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config SH64_USER_MISALIGNED_FIXUP
|
|
|
|
bool "Fixup misaligned loads/stores occurring in user mode"
|
|
|
|
|
|
|
|
comment "Memory options"
|
|
|
|
|
|
|
|
config CACHED_MEMORY_OFFSET
|
|
|
|
hex "Cached Area Offset"
|
|
|
|
default "20000000"
|
|
|
|
|
|
|
|
config MEMORY_START
|
|
|
|
hex "Physical memory start address"
|
|
|
|
default "80000000"
|
|
|
|
|
|
|
|
config MEMORY_SIZE_IN_MB
|
2007-10-01 16:45:24 +08:00
|
|
|
int "Memory size (in MB)"
|
2005-04-17 06:20:36 +08:00
|
|
|
default "8" if SH_SIMULATOR
|
2007-10-01 16:45:24 +08:00
|
|
|
default "64"
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
comment "Cache options"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "DCache mode"
|
2007-10-01 16:45:24 +08:00
|
|
|
default DCACHE_DISABLED if SH_SIMULATOR
|
2005-04-17 06:20:36 +08:00
|
|
|
default DCACHE_WRITE_BACK
|
|
|
|
|
|
|
|
config DCACHE_WRITE_BACK
|
|
|
|
bool "Write-back"
|
2007-10-01 16:45:24 +08:00
|
|
|
depends on !SH_SIMULATOR
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config DCACHE_WRITE_THROUGH
|
|
|
|
bool "Write-through"
|
2007-10-01 16:45:24 +08:00
|
|
|
depends on !SH_SIMULATOR
|
|
|
|
|
|
|
|
config DCACHE_DISABLED
|
|
|
|
bool "Disabled"
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ICACHE_DISABLED
|
|
|
|
bool "ICache Disabling"
|
|
|
|
|
|
|
|
config PCIDEVICE_MEMORY_START
|
|
|
|
hex
|
|
|
|
default "C0000000"
|
|
|
|
|
|
|
|
config DEVICE_MEMORY_START
|
|
|
|
hex
|
|
|
|
default "E0000000"
|
|
|
|
|
|
|
|
config FLASH_MEMORY_START
|
|
|
|
hex "Flash memory/on-chip devices start address"
|
|
|
|
default "00000000"
|
|
|
|
|
|
|
|
config PCI_BLOCK_START
|
|
|
|
hex "PCI block start address"
|
|
|
|
default "40000000"
|
|
|
|
|
|
|
|
comment "CPU Subtype specific options"
|
|
|
|
|
|
|
|
config SH64_ID2815_WORKAROUND
|
|
|
|
bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
|
|
|
|
|
|
|
|
comment "Misc options"
|
2007-10-01 16:45:24 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config HEARTBEAT
|
|
|
|
bool "Heartbeat LED"
|
2007-10-01 16:45:24 +08:00
|
|
|
depends on SH_CAYMAN
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config HDSP253_LED
|
|
|
|
bool "Support for HDSP-253 LED"
|
|
|
|
depends on SH_CAYMAN
|
|
|
|
|
|
|
|
config SH_DMA
|
|
|
|
tristate "DMA controller (DMAC) support"
|
|
|
|
|
|
|
|
config PREEMPT
|
|
|
|
bool "Preemptible Kernel (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
|
2005-06-23 15:07:43 +08:00
|
|
|
source "mm/Kconfig"
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
|
|
|
|
|
|
|
|
config ISA
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SBUS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config PCI
|
|
|
|
bool "PCI support"
|
2007-10-01 16:45:24 +08:00
|
|
|
depends on SH_CAYMAN
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
Find out whether you have a PCI motherboard. PCI is the name of a
|
|
|
|
bus system, i.e. the way the CPU talks to the other stuff inside
|
|
|
|
your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
|
|
|
|
VESA. If you have PCI, say Y, otherwise N.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
config SH_PCIDMA_NONCOHERENT
|
|
|
|
bool "Cache and PCI noncoherent"
|
|
|
|
depends on PCI
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable this option if your platform does not have a CPU cache which
|
|
|
|
remains coherent with PCI DMA. It is safest to say 'Y', although you
|
|
|
|
will see better performance if you can say 'N', because the PCI DMA
|
|
|
|
code will not have to flush the CPU's caches. If you have a PCI host
|
|
|
|
bridge integrated with your SH CPU, refer carefully to the chip specs
|
|
|
|
to see if you can say 'N' here. Otherwise, leave it as 'Y'.
|
|
|
|
|
|
|
|
source "drivers/pci/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/pcmcia/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/pci/hotplug/Kconfig"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Executable file formats"
|
|
|
|
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2005-07-12 12:03:49 +08:00
|
|
|
source "net/Kconfig"
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
source "drivers/Kconfig"
|
|
|
|
|
|
|
|
source "fs/Kconfig"
|
|
|
|
|
2007-10-19 14:41:05 +08:00
|
|
|
source "kernel/Kconfig.instrumentation"
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
source "arch/sh64/Kconfig.debug"
|
|
|
|
|
|
|
|
source "security/Kconfig"
|
|
|
|
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
|
|
|
|
source "lib/Kconfig"
|