2011-06-04 12:52:05 -06:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2011-08-14 18:02:26 -06:00
|
|
|
# see Documentation/kbuild/kconfig-language.txt.
|
2011-06-04 12:52:05 -06:00
|
|
|
#
|
|
|
|
|
|
|
|
config OPENRISC
|
|
|
|
def_bool y
|
|
|
|
select OF
|
|
|
|
select OF_EARLY_FLATTREE
|
2012-04-06 04:52:54 -06:00
|
|
|
select IRQ_DOMAIN
|
2014-08-26 04:03:19 -06:00
|
|
|
select HANDLE_DOMAIN_IRQ
|
2011-06-04 12:52:05 -06:00
|
|
|
select HAVE_MEMBLOCK
|
2013-02-27 22:55:22 -07:00
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2011-06-04 12:52:05 -06:00
|
|
|
select HAVE_ARCH_TRACEHOOK
|
|
|
|
select GENERIC_IRQ_CHIP
|
|
|
|
select GENERIC_IRQ_PROBE
|
|
|
|
select GENERIC_IRQ_SHOW
|
|
|
|
select GENERIC_IOMAP
|
2012-01-09 20:04:32 -07:00
|
|
|
select GENERIC_CPU_DEVICES
|
2015-07-17 17:23:28 -06:00
|
|
|
select HAVE_UID16
|
2012-03-01 17:55:11 -07:00
|
|
|
select GENERIC_ATOMIC64
|
2012-05-18 10:45:51 -06:00
|
|
|
select GENERIC_CLOCKEVENTS
|
2012-05-25 00:24:49 -06:00
|
|
|
select GENERIC_STRNCPY_FROM_USER
|
2012-05-27 02:25:47 -06:00
|
|
|
select GENERIC_STRNLEN_USER
|
2012-09-27 23:01:03 -06:00
|
|
|
select MODULES_USE_ELF_RELA
|
2013-07-01 14:04:42 -06:00
|
|
|
select HAVE_DEBUG_STACKOVERFLOW
|
2014-05-26 14:31:42 -06:00
|
|
|
select OR1K_PIC
|
2011-06-04 12:52:05 -06:00
|
|
|
|
|
|
|
config MMU
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config GENERIC_HWEIGHT
|
|
|
|
def_bool y
|
|
|
|
|
2014-04-07 16:39:19 -06:00
|
|
|
config NO_IOPORT_MAP
|
2011-06-04 12:52:05 -06:00
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config TRACE_IRQFLAGS_SUPPORT
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
# For now, use generic checksum functions
|
|
|
|
#These can be reimplemented in assembly later if so inclined
|
|
|
|
config GENERIC_CSUM
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
source "init/Kconfig"
|
|
|
|
|
2013-08-13 17:01:02 -06:00
|
|
|
source "kernel/Kconfig.freezer"
|
2011-06-04 12:52:05 -06:00
|
|
|
|
|
|
|
menu "Processor type and features"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Subarchitecture"
|
|
|
|
default OR1K_1200
|
|
|
|
|
|
|
|
config OR1K_1200
|
|
|
|
bool "OR1200"
|
|
|
|
help
|
|
|
|
Generic OpenRISC 1200 architecture
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config OPENRISC_BUILTIN_DTB
|
|
|
|
string "Builtin DTB"
|
|
|
|
default ""
|
|
|
|
|
|
|
|
menu "Class II Instructions"
|
|
|
|
|
|
|
|
config OPENRISC_HAVE_INST_FF1
|
|
|
|
bool "Have instruction l.ff1"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this if your implementation has the Class II instruction l.ff1
|
|
|
|
|
|
|
|
config OPENRISC_HAVE_INST_FL1
|
|
|
|
bool "Have instruction l.fl1"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this if your implementation has the Class II instruction l.fl1
|
|
|
|
|
|
|
|
config OPENRISC_HAVE_INST_MUL
|
|
|
|
bool "Have instruction l.mul for hardware multiply"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this if your implementation has a hardware multiply instruction
|
|
|
|
|
|
|
|
config OPENRISC_HAVE_INST_DIV
|
|
|
|
bool "Have instruction l.div for hardware divide"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this if your implementation has a hardware divide instruction
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
source kernel/Kconfig.hz
|
|
|
|
source kernel/Kconfig.preempt
|
|
|
|
source "mm/Kconfig"
|
|
|
|
|
|
|
|
config OPENRISC_NO_SPR_SR_DSX
|
|
|
|
bool "use SPR_SR_DSX software emulation" if OR1K_1200
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
SPR_SR_DSX bit is status register bit indicating whether
|
|
|
|
the last exception has happened in delay slot.
|
|
|
|
|
|
|
|
OpenRISC architecture makes it optional to have it implemented
|
|
|
|
in hardware and the OR1200 does not have it.
|
|
|
|
|
|
|
|
Say N here if you know that your OpenRISC processor has
|
|
|
|
SPR_SR_DSX bit implemented. Say Y if you are unsure.
|
|
|
|
|
|
|
|
config CMDLINE
|
|
|
|
string "Default kernel command string"
|
|
|
|
default ""
|
|
|
|
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.
|
|
|
|
|
|
|
|
menu "Debugging options"
|
|
|
|
|
|
|
|
config JUMP_UPON_UNHANDLED_EXCEPTION
|
|
|
|
bool "Try to die gracefully"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Now this puts kernel into infinite loop after first oops. Till
|
|
|
|
your kernel crashes this doesn't have any influence.
|
|
|
|
|
|
|
|
Say Y if you are unsure.
|
|
|
|
|
|
|
|
config OPENRISC_ESR_EXCEPTION_BUG_CHECK
|
|
|
|
bool "Check for possible ESR exception bug"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables some checks that might expose some problems
|
|
|
|
in kernel.
|
|
|
|
|
|
|
|
Say N if you are unsure.
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Executable file formats"
|
|
|
|
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
source "net/Kconfig"
|
|
|
|
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
|
|
|
|
source "fs/Kconfig"
|
|
|
|
|
|
|
|
source "security/Kconfig"
|
|
|
|
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
|
|
|
|
source "lib/Kconfig"
|
|
|
|
|
|
|
|
menu "Kernel hacking"
|
|
|
|
|
|
|
|
source "lib/Kconfig.debug"
|
|
|
|
|
|
|
|
endmenu
|