2009-03-27 20:25:50 +07:00
|
|
|
config MICROBLAZE
|
|
|
|
def_bool y
|
2010-07-12 11:36:09 +07:00
|
|
|
select HAVE_MEMBLOCK
|
2011-12-15 21:47:16 +07:00
|
|
|
select HAVE_MEMBLOCK_NODE_MAP
|
2009-11-16 15:40:14 +07:00
|
|
|
select HAVE_FUNCTION_TRACER
|
2009-11-16 15:55:08 +07:00
|
|
|
select HAVE_FUNCTION_TRACE_MCOUNT_TEST
|
2009-11-16 16:32:10 +07:00
|
|
|
select HAVE_FUNCTION_GRAPH_TRACER
|
2009-12-10 20:15:44 +07:00
|
|
|
select HAVE_DYNAMIC_FTRACE
|
|
|
|
select HAVE_FTRACE_MCOUNT_RECORD
|
2009-05-11 20:49:12 +07:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2009-11-24 17:27:54 +07:00
|
|
|
select HAVE_OPROFILE
|
2010-08-03 16:45:08 +07:00
|
|
|
select HAVE_ARCH_KGDB
|
2010-01-14 17:21:02 +07:00
|
|
|
select HAVE_DMA_ATTRS
|
|
|
|
select HAVE_DMA_API_DEBUG
|
2009-11-24 17:27:54 +07:00
|
|
|
select TRACING_SUPPORT
|
2010-06-29 09:42:00 +07:00
|
|
|
select OF
|
2010-11-19 06:54:56 +07:00
|
|
|
select OF_EARLY_FLATTREE
|
2012-07-31 04:42:46 +07:00
|
|
|
select ARCH_WANT_IPC_PARSE_VERSION
|
2012-10-09 06:28:11 +07:00
|
|
|
select HAVE_DEBUG_KMEMLEAK
|
2012-01-27 04:10:13 +07:00
|
|
|
select IRQ_DOMAIN
|
2011-01-20 02:35:05 +07:00
|
|
|
select HAVE_GENERIC_HARDIRQS
|
2013-03-07 11:48:16 +07:00
|
|
|
select VIRT_TO_BUS
|
2011-01-20 02:35:05 +07:00
|
|
|
select GENERIC_IRQ_PROBE
|
2011-03-24 20:55:52 +07:00
|
|
|
select GENERIC_IRQ_SHOW
|
2011-11-25 02:06:41 +07:00
|
|
|
select GENERIC_PCI_IOMAP
|
2012-01-10 10:04:32 +07:00
|
|
|
select GENERIC_CPU_DEVICES
|
2012-01-19 18:37:13 +07:00
|
|
|
select GENERIC_ATOMIC64
|
2012-05-18 23:45:49 +07:00
|
|
|
select GENERIC_CLOCKEVENTS
|
2013-03-22 04:49:51 +07:00
|
|
|
select GENERIC_IDLE_POLL_SETUP
|
2012-09-28 12:01:03 +07:00
|
|
|
select MODULES_USE_ELF_RELA
|
2012-10-27 11:03:41 +07:00
|
|
|
select CLONE_BACKWARDS
|
2009-03-27 20:25:50 +07:00
|
|
|
|
|
|
|
config SWAP
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
|
|
def_bool y
|
|
|
|
|
2011-12-15 15:24:06 +07:00
|
|
|
config ZONE_DMA
|
|
|
|
def_bool y
|
|
|
|
|
2009-03-27 20:25:50 +07:00
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_HAS_ILOG2_U32
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config ARCH_HAS_ILOG2_U64
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config GENERIC_HWEIGHT
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
|
|
def_bool y
|
|
|
|
|
2009-06-19 00:55:32 +07:00
|
|
|
config GENERIC_CSUM
|
|
|
|
def_bool y
|
|
|
|
|
2009-11-10 21:57:01 +07:00
|
|
|
config STACKTRACE_SUPPORT
|
|
|
|
def_bool y
|
|
|
|
|
2009-12-10 18:07:02 +07:00
|
|
|
config LOCKDEP_SUPPORT
|
|
|
|
def_bool y
|
|
|
|
|
2009-11-16 15:09:47 +07:00
|
|
|
config HAVE_LATENCYTOP_SUPPORT
|
|
|
|
def_bool y
|
|
|
|
|
2009-03-27 20:25:50 +07:00
|
|
|
source "init/Kconfig"
|
|
|
|
|
|
|
|
source "kernel/Kconfig.freezer"
|
|
|
|
|
|
|
|
source "arch/microblaze/platform/Kconfig.platform"
|
|
|
|
|
|
|
|
menu "Processor type and features"
|
|
|
|
|
|
|
|
source "kernel/Kconfig.preempt"
|
|
|
|
|
|
|
|
source "kernel/Kconfig.hz"
|
|
|
|
|
|
|
|
config MMU
|
2009-05-26 21:30:31 +07:00
|
|
|
bool "MMU support"
|
|
|
|
default n
|
2009-03-27 20:25:50 +07: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.
|
|
|
|
|
2010-08-06 13:50:35 +07:00
|
|
|
config SECCOMP
|
|
|
|
bool "Enable seccomp to safely compute untrusted bytecode"
|
|
|
|
depends on PROC_FS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This kernel feature is useful for number crunching applications
|
|
|
|
that may need to compute untrusted bytecode during their
|
|
|
|
execution. By using pipes or other transports made available to
|
|
|
|
the process as file descriptors supporting the read/write
|
|
|
|
syscalls, it's possible to isolate those applications in
|
|
|
|
their own address space using seccomp. Once seccomp is
|
|
|
|
enabled via /proc/<pid>/seccomp, it cannot be disabled
|
|
|
|
and the task is only allowed to execute a few safe syscalls
|
|
|
|
defined by each seccomp mode.
|
|
|
|
|
|
|
|
If unsure, say Y. Only embedded should say N here.
|
|
|
|
|
2009-03-27 20:25:50 +07:00
|
|
|
endmenu
|
|
|
|
|
2009-05-26 21:30:31 +07:00
|
|
|
menu "Advanced setup"
|
|
|
|
|
|
|
|
config ADVANCED_OPTIONS
|
|
|
|
bool "Prompt for advanced kernel configuration options"
|
|
|
|
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
|
|
|
|
|
2010-02-22 18:16:08 +07:00
|
|
|
config XILINX_UNCACHED_SHADOW
|
|
|
|
bool "Are you using uncached shadow for RAM ?"
|
|
|
|
depends on ADVANCED_OPTIONS && !MMU
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This is needed to be able to allocate uncachable memory regions.
|
|
|
|
The feature requires the design to define the RAM memory controller
|
|
|
|
window to be twice as large as the actual physical memory.
|
|
|
|
|
2011-12-15 21:02:37 +07:00
|
|
|
config HIGHMEM
|
|
|
|
bool "High memory support"
|
2009-05-26 21:30:31 +07:00
|
|
|
depends on MMU
|
|
|
|
help
|
2011-12-15 21:02:37 +07:00
|
|
|
The address space of Microblaze processors is only 4 Gigabytes large
|
|
|
|
and it has to accommodate user address space, kernel address
|
|
|
|
space as well as some memory mapped IO. That means that, if you
|
|
|
|
have a large amount of physical memory and/or IO, not all of the
|
|
|
|
memory can be "permanently mapped" by the kernel. The physical
|
|
|
|
memory that is not permanently mapped is called "high memory".
|
2009-05-26 21:30:31 +07:00
|
|
|
|
2011-12-15 21:02:37 +07:00
|
|
|
If unsure, say n.
|
2009-05-26 21:30:31 +07:00
|
|
|
|
|
|
|
config LOWMEM_SIZE_BOOL
|
|
|
|
bool "Set maximum low memory"
|
2010-02-22 17:33:07 +07:00
|
|
|
depends on ADVANCED_OPTIONS && MMU
|
2009-05-26 21:30:31 +07:00
|
|
|
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
|
|
|
|
default "0x30000000"
|
|
|
|
|
2010-11-08 18:37:40 +07:00
|
|
|
config MANUAL_RESET_VECTOR
|
|
|
|
hex "Microblaze reset vector address setup"
|
|
|
|
default "0x0"
|
|
|
|
help
|
|
|
|
Set this option to have the kernel override the CPU Reset vector.
|
|
|
|
If zero, no change will be made to the MicroBlaze reset vector at
|
|
|
|
address 0x0.
|
|
|
|
If non-zero, a jump instruction to this address, will be written
|
|
|
|
to the reset vector at address 0x0.
|
|
|
|
If you are unsure, set it to default value 0x0.
|
|
|
|
|
2009-05-26 21:30:31 +07:00
|
|
|
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"
|
2010-02-22 17:33:07 +07:00
|
|
|
depends on ADVANCED_OPTIONS && MMU
|
2009-05-26 21:30:31 +07:00
|
|
|
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
|
|
|
|
default "0x80000000"
|
|
|
|
|
2010-05-13 22:48:27 +07:00
|
|
|
choice
|
|
|
|
prompt "Page size"
|
|
|
|
default MICROBLAZE_4K_PAGES
|
|
|
|
depends on ADVANCED_OPTIONS && !MMU
|
|
|
|
help
|
|
|
|
Select the kernel logical page size. Increasing the page size
|
|
|
|
will reduce software overhead at each page boundary, allow
|
|
|
|
hardware prefetch mechanisms to be more effective, and allow
|
|
|
|
larger dma transfers increasing IO efficiency and reducing
|
|
|
|
overhead. However the utilization of memory will increase.
|
|
|
|
For example, each cached file will using a multiple of the
|
|
|
|
page size to hold its contents and the difference between the
|
|
|
|
end of file and the end of page is wasted.
|
|
|
|
|
|
|
|
If unsure, choose 4K_PAGES.
|
|
|
|
|
|
|
|
config MICROBLAZE_4K_PAGES
|
|
|
|
bool "4k page size"
|
|
|
|
|
|
|
|
config MICROBLAZE_16K_PAGES
|
|
|
|
bool "16k page size"
|
|
|
|
|
2012-08-01 15:29:28 +07:00
|
|
|
config MICROBLAZE_64K_PAGES
|
|
|
|
bool "64k page size"
|
2010-05-13 22:48:27 +07:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2010-02-08 22:41:38 +07:00
|
|
|
config KERNEL_PAD
|
|
|
|
hex "Kernel PAD for unpacking" if ADVANCED_OPTIONS
|
|
|
|
default "0x80000" if MMU
|
|
|
|
|
2009-05-26 21:30:31 +07:00
|
|
|
endmenu
|
|
|
|
|
2009-03-27 20:25:50 +07:00
|
|
|
source "mm/Kconfig"
|
|
|
|
|
2011-03-03 00:38:35 +07:00
|
|
|
menu "Executable file formats"
|
2009-03-27 20:25:50 +07:00
|
|
|
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2010-01-18 21:27:10 +07:00
|
|
|
menu "Bus Options"
|
|
|
|
|
|
|
|
config PCI
|
|
|
|
bool "PCI support"
|
|
|
|
|
|
|
|
config PCI_DOMAINS
|
|
|
|
def_bool PCI
|
|
|
|
|
|
|
|
config PCI_SYSCALL
|
|
|
|
def_bool PCI
|
|
|
|
|
2010-01-18 21:27:11 +07:00
|
|
|
config PCI_XILINX
|
|
|
|
bool "Xilinx PCI host bridge support"
|
|
|
|
depends on PCI
|
|
|
|
|
2010-01-18 21:27:10 +07:00
|
|
|
source "drivers/pci/Kconfig"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2009-03-27 20:25:50 +07:00
|
|
|
source "net/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
|
|
|
|
source "fs/Kconfig"
|
|
|
|
|
|
|
|
source "arch/microblaze/Kconfig.debug"
|
|
|
|
|
|
|
|
source "security/Kconfig"
|
|
|
|
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
|
|
|
|
source "lib/Kconfig"
|