summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig29
1 files changed, 22 insertions, 7 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 1395ad4c6f..14062dee34 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1,6 +1,5 @@
-#
-#
-#
+# SPDX-License-Identifier: GPL-2.0-only
+
config MIPS
bool
select GENERIC_LIB_ASHLDI3
@@ -11,6 +10,7 @@ config MIPS
select HAVE_PBL_MULTI_IMAGES
select HAS_DMA
select ARCH_HAS_DATA_ABORT_MASK
+ select ARCH_HAS_SJLJ
select ELF
default y
@@ -71,11 +71,16 @@ config MACH_MIPS_MALTA
select CSRC_R4K_LIB
select DRIVER_SERIAL_NS16550
select SYS_HAS_CPU_MIPS32_R1
+ select SYS_HAS_CPU_MIPS64_R1
select SYS_HAS_CPU_MIPS32_R2
+ select SYS_HAS_CPU_MIPS64_R2
select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_SUPPORTS_64BIT_KERNEL
select SYS_SUPPORTS_BIG_ENDIAN
select SYS_SUPPORTS_LITTLE_ENDIAN
select HAS_DEBUG_LL
+ select COMMON_CLK
+ select COMMON_CLK_OF_PROVIDER
select GPIOLIB
select HW_HAS_PCI
select HAVE_PBL_IMAGE
@@ -100,7 +105,6 @@ config MACH_MIPS_ATH79
select HAS_DEBUG_LL
select COMMON_CLK
select COMMON_CLK_OF_PROVIDER
- select CLKDEV_LOOKUP
select OFTREE
select GPIOLIB
@@ -174,7 +178,9 @@ choice
config CPU_LOONGSON1B
bool "Loongson 1B"
depends on SYS_HAS_CPU_LOONGSON1B
- select CPU_LOONGSON1
+ select CPU_GS232
+ select COMMON_CLK
+ select COMMON_CLK_OF_PROVIDER
help
The Loongson 1B is a 32-bit SoC, which implements the MIPS32
release 2 instruction set.
@@ -235,7 +241,7 @@ config CPU_MIPS64_R2
endchoice
-config CPU_LOONGSON1
+config CPU_GS232
bool
select CPU_MIPS32
select CPU_MIPSR2
@@ -313,6 +319,16 @@ config 64BIT
endchoice
+config BOARD_MIPS_GENERIC_DT
+ select BOARD_GENERIC_DT
+ depends on OFDEVICE
+ bool "Build generic MIPS device tree 2nd stage image"
+ help
+ This enables compilation of a generic image that can be started 2nd
+ stage from barebox or from qemu. It picks up a device tree passed
+ in a1 like the Kernel does.
+ The image will be called images/barebox-dt-2nd.img
+
menu "MIPS specific settings"
config CMD_MIPS_CPUINFO
@@ -370,7 +386,6 @@ config NMON_HELP
config MIPS_OPTIMIZED_STRING_FUNCTIONS
bool "use assembler optimized string functions"
- depends on !64BIT
default y
help
Say yes here to use assembler optimized memcpy / memset functions.