aboutsummaryrefslogtreecommitdiff
path: root/arch/loongarch/Kconfig
diff options
context:
space:
mode:
authorGravatar Binbin Zhou <zhoubinbin@loongson.cn> 2022-12-10 22:40:05 +0800
committerGravatar Huacai Chen <chenhuacai@loongson.cn> 2022-12-14 08:41:53 +0800
commit88d4d957edc707e037449ef71a58c6530a39d01e (patch)
treeac4ac6210684cfd8162eb850f1f46f63e8208d8c /arch/loongarch/Kconfig
parentLoongArch: Use alternative to optimize libraries (diff)
downloadlinux-88d4d957edc707e037449ef71a58c6530a39d01e.tar.gz
linux-88d4d957edc707e037449ef71a58c6530a39d01e.tar.bz2
linux-88d4d957edc707e037449ef71a58c6530a39d01e.zip
LoongArch: Add FDT booting support from efi system table
Since commit 40cd01a9c324("efi/loongarch: libstub: remove dependency on flattened DT"), we can parse the FDT from efi system table. And now, LoongArch is coming to support booting with FDT, so we add the relevant booting support as well as parameter parsing. Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/Kconfig')
-rw-r--r--arch/loongarch/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
index 0daf6263655b..48db4b27b9af 100644
--- a/arch/loongarch/Kconfig
+++ b/arch/loongarch/Kconfig
@@ -111,6 +111,8 @@ config LOONGARCH
select MODULES_USE_ELF_RELA if MODULES
select NEED_PER_CPU_EMBED_FIRST_CHUNK
select NEED_PER_CPU_PAGE_FIRST_CHUNK
+ select OF
+ select OF_EARLY_FLATTREE
select PCI
select PCI_DOMAINS_GENERIC
select PCI_ECAM if ACPI