LoongArch: Add FDT booting support from efi system table
authorBinbin Zhou <zhoubinbin@loongson.cn>
Sat, 10 Dec 2022 14:40:05 +0000 (22:40 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 14 Dec 2022 00:41:53 +0000 (08:41 +0800)
commit88d4d957edc707e037449ef71a58c6530a39d01e
treeac4ac6210684cfd8162eb850f1f46f63e8208d8c
parenta275a82dcd4024c75337db15d59ed039c31e21da
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>
arch/loongarch/Kconfig
arch/loongarch/include/asm/efi.h
arch/loongarch/include/asm/setup.h
arch/loongarch/kernel/acpi.c
arch/loongarch/kernel/efi.c
arch/loongarch/kernel/env.c
arch/loongarch/kernel/numa.c
arch/loongarch/kernel/setup.c
arch/loongarch/kernel/smp.c
arch/loongarch/pci/acpi.c