2009-03-27 16:25:50 +03:00
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see Documentation/kbuild/kconfig-language.txt.
|
|
|
|
|
|
|
|
mainmenu "Linux/Microblaze Kernel Configuration"
|
|
|
|
|
|
|
|
config MICROBLAZE
|
|
|
|
def_bool y
|
|
|
|
select HAVE_LMB
|
2009-11-16 11:40:14 +03:00
|
|
|
select HAVE_FUNCTION_TRACER
|
2009-11-16 11:55:08 +03:00
|
|
|
select HAVE_FUNCTION_TRACE_MCOUNT_TEST
|
2009-11-16 12:32:10 +03:00
|
|
|
select HAVE_FUNCTION_GRAPH_TRACER
|
2009-12-10 16:15:44 +03:00
|
|
|
select HAVE_DYNAMIC_FTRACE
|
|
|
|
select HAVE_FTRACE_MCOUNT_RECORD
|
2009-07-27 21:45:32 +04:00
|
|
|
select USB_ARCH_HAS_EHCI
|
2009-05-11 17:49:12 +04:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2009-11-24 13:27:54 +03:00
|
|
|
select HAVE_OPROFILE
|
2010-01-14 13:21:02 +03:00
|
|
|
select HAVE_DMA_ATTRS
|
|
|
|
select HAVE_DMA_API_DEBUG
|
2009-11-24 13:27:54 +03:00
|
|
|
select TRACING_SUPPORT
|
2009-03-27 16:25:50 +03:00
|
|
|
|
|
|
|
config SWAP
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_HAS_ILOG2_U32
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config ARCH_HAS_ILOG2_U64
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config GENERIC_FIND_NEXT_BIT
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GENERIC_HWEIGHT
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GENERIC_HARDIRQS
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GENERIC_IRQ_PROBE
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GENERIC_TIME
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GENERIC_TIME_VSYSCALL
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config GENERIC_CLOCKEVENTS
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GENERIC_HARDIRQS_NO__DO_IRQ
|
|
|
|
def_bool y
|
|
|
|
|
2009-05-11 17:49:12 +04:00
|
|
|
config GENERIC_GPIO
|
|
|
|
def_bool y
|
|
|
|
|
2009-06-18 21:55:32 +04:00
|
|
|
config GENERIC_CSUM
|
|
|
|
def_bool y
|
|
|
|
|
2009-11-10 17:57:01 +03:00
|
|
|
config STACKTRACE_SUPPORT
|
|
|
|
def_bool y
|
|
|
|
|
2009-12-10 14:07:02 +03:00
|
|
|
config LOCKDEP_SUPPORT
|
|
|
|
def_bool y
|
|
|
|
|
2009-11-16 11:09:47 +03:00
|
|
|
config HAVE_LATENCYTOP_SUPPORT
|
|
|
|
def_bool y
|
|
|
|
|
2009-03-27 16:25:50 +03:00
|
|
|
config PCI
|
|
|
|
def_bool n
|
|
|
|
|
2009-11-30 11:26:09 +03:00
|
|
|
config DTC
|
|
|
|
def_bool y
|
|
|
|
|
2009-03-27 16:25:50 +03:00
|
|
|
source "init/Kconfig"
|
|
|
|
|
|
|
|
source "kernel/Kconfig.freezer"
|
|
|
|
|
|
|
|
source "arch/microblaze/platform/Kconfig.platform"
|
|
|
|
|
|
|
|
menu "Processor type and features"
|
|
|
|
|
2010-01-12 13:05:49 +03:00
|
|
|
source "kernel/time/Kconfig"
|
2009-03-27 16:25:50 +03:00
|
|
|
|
|
|
|
source "kernel/Kconfig.preempt"
|
|
|
|
|
|
|
|
source "kernel/Kconfig.hz"
|
|
|
|
|
|
|
|
config MMU
|
2009-05-26 18:30:31 +04:00
|
|
|
bool "MMU support"
|
|
|
|
default n
|
2009-03-27 16:25:50 +03:00
|
|
|
|
|
|
|
config NO_MMU
|
|
|
|
bool
|
|
|
|
depends on !MMU
|
|
|
|
default y
|
|
|
|
|
|
|
|
comment "Boot options"
|
|
|
|
|
|
|
|
config CMDLINE_BOOL
|
|
|
|
bool "Default bootloader kernel arguments"
|
|
|
|
|
|
|
|
config CMDLINE
|
|
|
|
string "Default kernel command string"
|
|
|
|
depends on CMDLINE_BOOL
|
|
|
|
default "console=ttyUL0,115200"
|
|
|
|
help
|
|
|
|
On some architectures there is currently no way for the boot loader
|
|
|
|
to pass arguments to the kernel. For these architectures, you should
|
|
|
|
supply some command-line options at build time by entering them
|
|
|
|
here.
|
|
|
|
|
|
|
|
config CMDLINE_FORCE
|
|
|
|
bool "Force default kernel command string"
|
|
|
|
depends on CMDLINE_BOOL
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Set this to have arguments from the default kernel command string
|
|
|
|
override those passed by the boot loader.
|
|
|
|
|
|
|
|
config OF
|
|
|
|
def_bool y
|
2009-11-24 00:53:09 +03:00
|
|
|
select OF_FLATTREE
|
2009-03-27 16:25:50 +03:00
|
|
|
|
|
|
|
config PROC_DEVICETREE
|
|
|
|
bool "Support for device tree in /proc"
|
|
|
|
depends on PROC_FS
|
|
|
|
help
|
|
|
|
This option adds a device-tree directory under /proc which contains
|
|
|
|
an image of the device tree that the kernel copies from Open
|
|
|
|
Firmware or other boot firmware. If unsure, say Y here.
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2009-05-26 18:30:31 +04:00
|
|
|
menu "Advanced setup"
|
|
|
|
|
|
|
|
config ADVANCED_OPTIONS
|
|
|
|
bool "Prompt for advanced kernel configuration options"
|
|
|
|
depends on MMU
|
|
|
|
help
|
|
|
|
This option will enable prompting for a variety of advanced kernel
|
|
|
|
configuration options. These options can cause the kernel to not
|
|
|
|
work if they are set incorrectly, but can be used to optimize certain
|
|
|
|
aspects of kernel memory management.
|
|
|
|
|
|
|
|
Unless you know what you are doing, say N here.
|
|
|
|
|
|
|
|
comment "Default settings for advanced configuration options are used"
|
|
|
|
depends on !ADVANCED_OPTIONS
|
|
|
|
|
|
|
|
config HIGHMEM_START_BOOL
|
|
|
|
bool "Set high memory pool address"
|
|
|
|
depends on ADVANCED_OPTIONS && HIGHMEM
|
|
|
|
help
|
|
|
|
This option allows you to set the base address of the kernel virtual
|
|
|
|
area used to map high memory pages. This can be useful in
|
|
|
|
optimizing the layout of kernel virtual memory.
|
|
|
|
|
|
|
|
Say N here unless you know what you are doing.
|
|
|
|
|
|
|
|
config HIGHMEM_START
|
|
|
|
hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
|
|
|
|
depends on MMU
|
|
|
|
default "0xfe000000"
|
|
|
|
|
|
|
|
config LOWMEM_SIZE_BOOL
|
|
|
|
bool "Set maximum low memory"
|
|
|
|
depends on ADVANCED_OPTIONS
|
|
|
|
help
|
|
|
|
This option allows you to set the maximum amount of memory which
|
|
|
|
will be used as "low memory", that is, memory which the kernel can
|
|
|
|
access directly, without having to set up a kernel virtual mapping.
|
|
|
|
This can be useful in optimizing the layout of kernel virtual
|
|
|
|
memory.
|
|
|
|
|
|
|
|
Say N here unless you know what you are doing.
|
|
|
|
|
|
|
|
config LOWMEM_SIZE
|
|
|
|
hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
|
|
|
|
depends on MMU
|
|
|
|
default "0x30000000"
|
|
|
|
|
|
|
|
config KERNEL_START_BOOL
|
|
|
|
bool "Set custom kernel base address"
|
|
|
|
depends on ADVANCED_OPTIONS
|
|
|
|
help
|
|
|
|
This option allows you to set the kernel virtual address at which
|
|
|
|
the kernel will map low memory (the kernel image will be linked at
|
|
|
|
this address). This can be useful in optimizing the virtual memory
|
|
|
|
layout of the system.
|
|
|
|
|
|
|
|
Say N here unless you know what you are doing.
|
|
|
|
|
|
|
|
config KERNEL_START
|
|
|
|
hex "Virtual address of kernel base" if KERNEL_START_BOOL
|
|
|
|
default "0xc0000000" if MMU
|
|
|
|
default KERNEL_BASE_ADDR if !MMU
|
|
|
|
|
|
|
|
config TASK_SIZE_BOOL
|
|
|
|
bool "Set custom user task size"
|
|
|
|
depends on ADVANCED_OPTIONS
|
|
|
|
help
|
|
|
|
This option allows you to set the amount of virtual address space
|
|
|
|
allocated to user tasks. This can be useful in optimizing the
|
|
|
|
virtual memory layout of the system.
|
|
|
|
|
|
|
|
Say N here unless you know what you are doing.
|
|
|
|
|
|
|
|
config TASK_SIZE
|
|
|
|
hex "Size of user task space" if TASK_SIZE_BOOL
|
|
|
|
depends on MMU
|
|
|
|
default "0x80000000"
|
|
|
|
|
|
|
|
config CONSISTENT_START_BOOL
|
|
|
|
bool "Set custom consistent memory pool address"
|
|
|
|
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
|
|
|
|
help
|
|
|
|
This option allows you to set the base virtual address
|
|
|
|
of the the consistent memory pool. This pool of virtual
|
|
|
|
memory is used to make consistent memory allocations.
|
|
|
|
|
|
|
|
config CONSISTENT_START
|
|
|
|
hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
|
|
|
|
depends on MMU
|
|
|
|
default "0xff100000" if NOT_COHERENT_CACHE
|
|
|
|
|
|
|
|
config CONSISTENT_SIZE_BOOL
|
|
|
|
bool "Set custom consistent memory pool size"
|
|
|
|
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
|
|
|
|
help
|
|
|
|
This option allows you to set the size of the the
|
|
|
|
consistent memory pool. This pool of virtual memory
|
|
|
|
is used to make consistent memory allocations.
|
|
|
|
|
|
|
|
config CONSISTENT_SIZE
|
|
|
|
hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
|
|
|
|
depends on MMU
|
|
|
|
default "0x00200000" if NOT_COHERENT_CACHE
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2009-03-27 16:25:50 +03:00
|
|
|
source "mm/Kconfig"
|
|
|
|
|
|
|
|
menu "Exectuable file formats"
|
|
|
|
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2010-01-18 17:27:10 +03:00
|
|
|
menu "Bus Options"
|
|
|
|
|
|
|
|
config PCI
|
|
|
|
bool "PCI support"
|
|
|
|
|
|
|
|
config PCI_DOMAINS
|
|
|
|
def_bool PCI
|
|
|
|
|
|
|
|
config PCI_SYSCALL
|
|
|
|
def_bool PCI
|
|
|
|
|
|
|
|
source "drivers/pci/Kconfig"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2009-03-27 16:25:50 +03:00
|
|
|
source "net/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
|
|
|
|
source "fs/Kconfig"
|
|
|
|
|
|
|
|
source "arch/microblaze/Kconfig.debug"
|
|
|
|
|
|
|
|
source "security/Kconfig"
|
|
|
|
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
|
|
|
|
source "lib/Kconfig"
|