-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patches/linux-5.5-openpower/0010: new patch for enabling Google coreb…
…oot drivers Signed-off-by: Krystian Hebel <[email protected]>
- Loading branch information
1 parent
0583df6
commit d4b1a87
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
patches/linux-5.5-openpower/0010-arch-powerpc-Kconfig-enable-inclusion-of-drivers-fir.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|