summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0008-HACK-Disable-coreboot-related-BL31-features.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-21 02:22:40 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-21 03:26:54 +0100
commit762c7ff43ebd065de62f26fbe5729d221110c5a0 (patch)
treee61a91b987761e52cca04f3a2b6dc0d0c26c2d47 /config/coreboot/default/patches/0008-HACK-Disable-coreboot-related-BL31-features.patch
parent86e7aa80c51979767208b858dac5f38d7e83914e (diff)
coreboot/default: Update, c247f62749b (8 Feb 2025)
This is currently the latest revision of coreboot. Other coreboot trees to follow. The "next" tree will also be merged with coreboot/default, in a follow-up commit. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/default/patches/0008-HACK-Disable-coreboot-related-BL31-features.patch')
-rw-r--r--config/coreboot/default/patches/0008-HACK-Disable-coreboot-related-BL31-features.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/coreboot/default/patches/0008-HACK-Disable-coreboot-related-BL31-features.patch b/config/coreboot/default/patches/0008-HACK-Disable-coreboot-related-BL31-features.patch
new file mode 100644
index 00000000..e4fc4f35
--- /dev/null
+++ b/config/coreboot/default/patches/0008-HACK-Disable-coreboot-related-BL31-features.patch
@@ -0,0 +1,28 @@
+From 243d3b1892d33b4eccc9c48333fbc137c4294a73 Mon Sep 17 00:00:00 2001
+From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
+Date: Thu, 22 Jun 2023 16:44:27 +0300
+Subject: [PATCH 08/24] HACK: Disable coreboot related BL31 features
+
+I don't know why, but removing this BL31 make argument lets gru-kevin
+power off properly when shut down from Linux. Needs investigation.
+---
+ src/arch/arm64/Makefile.mk | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/arch/arm64/Makefile.mk b/src/arch/arm64/Makefile.mk
+index f54c6d22fc..b075abfd42 100644
+--- a/src/arch/arm64/Makefile.mk
++++ b/src/arch/arm64/Makefile.mk
+@@ -162,9 +162,6 @@ BL31_MAKEARGS += LOG_LEVEL=40
+ # Always enable crash reporting, even on a release build
+ BL31_MAKEARGS += CRASH_REPORTING=1
+
+-# Enable coreboot-specific features like CBMEM console support
+-BL31_MAKEARGS += COREBOOT=1
+-
+ # Avoid build/release|build/debug distinction by overriding BUILD_PLAT directly
+ BL31_MAKEARGS += BUILD_PLAT="$(BL31_BUILD)"
+
+--
+2.39.5
+