Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-02-19 21:57:19 +00:00
parent 1068acd2c0
commit 6e991b20af
87 changed files with 2786 additions and 0 deletions
+16
View File
@@ -79,6 +79,7 @@ ME11delta=""
ME11pch=""
ME11sku=""
ME11version=""
MEshrink=""
ME_bin_hash=""
MEclean=""
MRC_bin_hash=""
@@ -278,6 +279,15 @@ extract_intel_me()
x_ rm -f "$_metmp" "$xbtmp/a"
x_ rm -Rf "$_7ztest"
# maintain compatibility with older configs
# because in the past, shrink was assumed
if [ -z "$MEshrink" ]; then
MEshrink="y"
fi
if [ "$MEshrink" != "y" ] && [ "$MEshrink" != "n" ]; then
err "MEshrink set badly on '$board' vendor config"
fi
if [ "$ME11bootguard" = "y" ]; then
mfs="--whitelist MFS"
@@ -327,10 +337,16 @@ find_me()
_r=""
fi
if [ "$MEshrink" != "y" ]; then
_r=""
_trunc=""
fi
if [ "$MEclean" = "n" ]; then
_keep="-k"
_pass="-p"
_trunc=""
# TODO: should we also blank mfs and _r here?
fi
if "$mecleaner" $mfs $_r $_keep $_pass $_trunc -O "$xbtmp/a" \