Skip to content

Commit

Permalink
patches/linux-5.5-openpower/0010: new patch for enabling Google coreb…
Browse files Browse the repository at this point in the history
…oot drivers

Signed-off-by: Krystian Hebel <[email protected]>
  • Loading branch information
krystian-hebel committed Mar 24, 2023
1 parent 0583df6 commit d4b1a87
Showing 1 changed file with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
From c6b1bf6bb60a5a71e5e480e7e0c95c4bcde0198b Mon Sep 17 00:00:00 2001
From: Krystian Hebel <[email protected]>
Date: Wed, 8 Mar 2023 13:53:10 +0100
Subject: [PATCH] arch/powerpc/Kconfig: enable inclusion of drivers/firmware

Signed-off-by: Krystian Hebel <[email protected]>
---
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

0 comments on commit d4b1a87

Please sign in to comment.