mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
c716341c13
I realised that the Dell OptiPlex 3050 Micro has NVRAM available. Use that backend, and hardcode power_on_after_fail to Disable, which is already done in cmos.default. The Lenovo ThinkPad T480 currently has no option table in coreboot, besides the CBFS one. For this, the CBFS option table has been enabled, and the build system has been modified to insert a relevant config for power_on_after_fail. Nicholas Chin informs me that Kabylake generally has legacy NVRAM, so enabling it for the T480/T480s should work, but we'll need to use it in the future anyway; better to just use CBFS now. I *could* use the CBFS backend on 3050micro as well. Signed-off-by: Leah Rowe <leah@libreboot.org>
29 lines
990 B
Diff
29 lines
990 B
Diff
From 319a77d9eeaaf1e344a380b1b449e6a56b3dc92c 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/40] 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.47.3
|
|
|