summaryrefslogtreecommitdiff
path: root/arch/mips/loongson32
diff options
context:
space:
mode:
authorKeguang Zhang <keguang.zhang@gmail.com>2025-07-16 19:25:15 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2025-08-29 22:34:31 +0200
commitec7c2a107a59a60079eff3308e791a3441231f2e (patch)
treed4d4110596f538d9955fd6e4a3fb65f4e84fa586 /arch/mips/loongson32
parent11741215e287454bd4c6e9a4872790a1a2c0e0ae (diff)
MIPS: loongson: Add built-in DTB support
Since the current bootloader for Loongson-1 does not support FDT, introduce CONFIG_BUILTIN_DTB_NAME to enable a built-in DTB. Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/loongson32')
-rw-r--r--arch/mips/loongson32/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/loongson32/Kconfig b/arch/mips/loongson32/Kconfig
index a7c500959577..52e925309f15 100644
--- a/arch/mips/loongson32/Kconfig
+++ b/arch/mips/loongson32/Kconfig
@@ -36,3 +36,11 @@ config LOONGSON1_LS1C
endchoice
endif # MACH_LOONGSON32
+
+config BUILTIN_DTB_NAME
+ string "Source file for built-in DTB"
+ depends on BUILTIN_DTB
+ help
+ Base name (without suffix, relative to arch/mips/boot/dts/loongson)
+ for the DTS file that will be used to produce the DTB linked into
+ the kernel.