vendor.sh: handle mfs in find_me

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>
This commit is contained in:
Leah Rowe
2026-02-22 17:18:51 +00:00
parent a938309d35
commit a55af90b6c

View File

@@ -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"