mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
06b52583fa
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
From c6b1bf6bb60a5a71e5e480e7e0c95c4bcde0198b Mon Sep 17 00:00:00 2001
|
|
From: Krystian Hebel <krystian.hebel@3mdeb.com>
|
|
Date: Wed, 8 Mar 2023 13:53:10 +0100
|
|
Subject: [PATCH] arch/powerpc/Kconfig: enable inclusion of drivers/firmware
|
|
|
|
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
|
|
---
|
|
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
|
|
|