mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 14:36:43 +07:00
5fbbf8a1a9
The modifications include: 1. Kconfig of Score: we don't support ioremap 2. Missed headfile including 3. There are some errors in other people's commit not checked by us, we fix it now 3.1 arch/score/kernel/entry.S: wrong instructions 3.2 arch/score/kernel/process.c : just some typos Signed-off-by: Lennox Wu <lennox.wu@gmail.com>
117 lines
1.8 KiB
Plaintext
117 lines
1.8 KiB
Plaintext
menu "Machine selection"
|
|
|
|
config SCORE
|
|
def_bool y
|
|
select HAVE_GENERIC_HARDIRQS
|
|
select GENERIC_IRQ_SHOW
|
|
select GENERIC_IOMAP
|
|
select GENERIC_ATOMIC64
|
|
select HAVE_MEMBLOCK
|
|
select HAVE_MEMBLOCK_NODE_MAP
|
|
select ARCH_DISCARD_MEMBLOCK
|
|
select GENERIC_CPU_DEVICES
|
|
select GENERIC_CLOCKEVENTS
|
|
select HAVE_MOD_ARCH_SPECIFIC
|
|
select VIRT_TO_BUS
|
|
select MODULES_USE_ELF_REL
|
|
select CLONE_BACKWARDS
|
|
|
|
choice
|
|
prompt "System type"
|
|
default MACH_SPCT6600
|
|
|
|
config ARCH_SCORE7
|
|
bool "SCORE7 processor"
|
|
select SYS_SUPPORTS_32BIT_KERNEL
|
|
select CPU_SCORE7
|
|
select GENERIC_HAS_IOMAP
|
|
|
|
config MACH_SPCT6600
|
|
bool "SPCT6600 series based machines"
|
|
select SYS_SUPPORTS_32BIT_KERNEL
|
|
select CPU_SCORE7
|
|
select GENERIC_HAS_IOMAP
|
|
|
|
config SCORE_SIM
|
|
bool "Score simulator"
|
|
select SYS_SUPPORTS_32BIT_KERNEL
|
|
select CPU_SCORE7
|
|
select GENERIC_HAS_IOMAP
|
|
endchoice
|
|
|
|
endmenu
|
|
|
|
config CPU_SCORE7
|
|
bool
|
|
|
|
config NO_DMA
|
|
bool
|
|
default y
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
def_bool y
|
|
|
|
config GENERIC_HWEIGHT
|
|
def_bool y
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
def_bool y
|
|
|
|
menu "Kernel type"
|
|
|
|
config 32BIT
|
|
def_bool y
|
|
|
|
config ARCH_FLATMEM_ENABLE
|
|
def_bool y
|
|
|
|
source "mm/Kconfig"
|
|
|
|
config MEMORY_START
|
|
hex
|
|
default 0xa0000000
|
|
|
|
source "kernel/Kconfig.hz"
|
|
source "kernel/Kconfig.preempt"
|
|
|
|
endmenu
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
def_bool y
|
|
|
|
config LOCKDEP_SUPPORT
|
|
def_bool y
|
|
|
|
config STACKTRACE_SUPPORT
|
|
def_bool y
|
|
|
|
source "init/Kconfig"
|
|
|
|
source "kernel/Kconfig.freezer"
|
|
|
|
config MMU
|
|
def_bool y
|
|
|
|
menu "Executable file formats"
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
endmenu
|
|
|
|
source "net/Kconfig"
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
source "fs/Kconfig"
|
|
|
|
source "arch/score/Kconfig.debug"
|
|
|
|
source "security/Kconfig"
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
source "lib/Kconfig"
|
|
|
|
config NO_IOMEM
|
|
def_bool y
|