Skip to content

Commit

Permalink
hard-code setting ME state during boot, fixes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Jan 22, 2024
1 parent cd240e7 commit 50e03c1
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -ur coreboot-nitrokey.org/src/vendorcode/dasharo/options.c coreboot-nitrokey/src/vendorcode/dasharo/options.c
--- coreboot-nitrokey.org/src/vendorcode/dasharo/options.c 2024-01-22 14:11:59.525612567 +0100
+++ coreboot-nitrokey/src/vendorcode/dasharo/options.c 2024-01-22 14:12:07.535544365 +0100
@@ -133,7 +133,7 @@
if (CONFIG(DRIVERS_EFI_VARIABLE_STORE))
read_u8_var("MeMode", &var);

- return var;
+ return ME_MODE_DISABLE_HAP;
}

bool is_smm_bwp_permitted(void)

0 comments on commit 50e03c1

Please sign in to comment.