summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-02-22 17:18:51 +0000
committerLeah Rowe <leah@libreboot.org>2026-02-22 17:18:51 +0000
commita55af90b6c324ec9fdea9c19b65451b72bf08faf (patch)
tree496accd4feaec484eb99f080b7ad73e805d39f02
parenta938309d35b01dfc88e8b126b28df0fec9046058 (diff)
vendor.sh: handle mfs in find_meHEADmaster
This makes the argument handling easier to understand, since other arguments are also handled in find_me Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/vendor.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 3c5b5d65..8076d9ab 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -290,8 +290,6 @@ extract_intel_me()
fi
if [ "$ME11bootguard" = "y" ]; then
- mfs="--whitelist MFS"
-
if [ -z "$ME11delta" ] || [ -z "$ME11version" ] || \
[ -z "$ME11sku" ] || [ -z "$ME11pch" ]; then
err "$board: ME11delta/ME11version/ME11sku/ME11pch" \
@@ -334,6 +332,9 @@ find_me()
_r="-r" # re-locate modules
_trunc="-t" # -t: truncate the ME size
+ if [ "$ME11bootguard" = "y" ]; then
+ mfs="--whitelist MFS"
+ fi
if [ "$MEclean" = "n" ]; then
MEshrink="n"