summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0021-HACK-Disable-coreboot-related-BL31-features.patch
diff options
context:
space:
mode:
Diffstat (limited to 'config/coreboot/default/patches/0021-HACK-Disable-coreboot-related-BL31-features.patch')
-rw-r--r--config/coreboot/default/patches/0021-HACK-Disable-coreboot-related-BL31-features.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/coreboot/default/patches/0021-HACK-Disable-coreboot-related-BL31-features.patch b/config/coreboot/default/patches/0021-HACK-Disable-coreboot-related-BL31-features.patch
new file mode 100644
index 00000000..40e1ccee
--- /dev/null
+++ b/config/coreboot/default/patches/0021-HACK-Disable-coreboot-related-BL31-features.patch
@@ -0,0 +1,28 @@
+From 70262a5f4bf801814d68f8778ea89b5cd8ef8f9a 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 21/30] 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 538d254ace..18e451d63c 100644
+--- a/src/arch/arm64/Makefile.mk
++++ b/src/arch/arm64/Makefile.mk
+@@ -159,9 +159,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.2
+