From d4b1a878cacf3998d6dee50ccba9a2a0a2a88678 Mon Sep 17 00:00:00 2001 From: Krystian Hebel Date: Wed, 8 Mar 2023 14:09:29 +0100 Subject: [PATCH] patches/linux-5.5-openpower/0010: new patch for enabling Google coreboot drivers Signed-off-by: Krystian Hebel --- ...nfig-enable-inclusion-of-drivers-fir.patch | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 patches/linux-5.5-openpower/0010-arch-powerpc-Kconfig-enable-inclusion-of-drivers-fir.patch diff --git a/patches/linux-5.5-openpower/0010-arch-powerpc-Kconfig-enable-inclusion-of-drivers-fir.patch b/patches/linux-5.5-openpower/0010-arch-powerpc-Kconfig-enable-inclusion-of-drivers-fir.patch new file mode 100644 index 000000000..f050b73fc --- /dev/null +++ b/patches/linux-5.5-openpower/0010-arch-powerpc-Kconfig-enable-inclusion-of-drivers-fir.patch @@ -0,0 +1,44 @@ +From c6b1bf6bb60a5a71e5e480e7e0c95c4bcde0198b Mon Sep 17 00:00:00 2001 +From: Krystian Hebel +Date: Wed, 8 Mar 2023 13:53:10 +0100 +Subject: [PATCH] arch/powerpc/Kconfig: enable inclusion of drivers/firmware + +Signed-off-by: Krystian Hebel +--- + arch/powerpc/Kconfig | 2 ++ + drivers/of/platform.c | 2 -- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig +index e2a412113359..bf60c7bdbf88 100644 +--- a/arch/powerpc/Kconfig ++++ b/arch/powerpc/Kconfig +@@ -1269,3 +1269,5 @@ config PPC_LIB_RHEAP + source "arch/powerpc/kvm/Kconfig" + + source "kernel/livepatch/Kconfig" ++ ++source "drivers/firmware/Kconfig" +diff --git a/drivers/of/platform.c b/drivers/of/platform.c +index 3371e4a06248..c2bb08380ef7 100644 +--- a/drivers/of/platform.c ++++ b/drivers/of/platform.c +@@ -506,7 +506,6 @@ int of_platform_default_populate(struct device_node *root, + } + EXPORT_SYMBOL_GPL(of_platform_default_populate); + +-#ifndef CONFIG_PPC + static const struct of_device_id reserved_mem_matches[] = { + { .compatible = "qcom,rmtfs-mem" }, + { .compatible = "qcom,cmd-db" }, +@@ -550,7 +549,6 @@ static int __init of_platform_sync_state_init(void) + return 0; + } + late_initcall_sync(of_platform_sync_state_init); +-#endif + + int of_platform_device_destroy(struct device *dev, void *data) + { +-- +2.25.1 +