fix a compile flag typo
The code guarded by this compilation flag is not supposed to kick in
on gru/kevin, this is how the typo went unnoticed.
BRANCH=none
BUG=none
TEST=kevin still boots into chrome os
Change-Id: Ic12aacb7ad9b2361666e719a50597d3836d5212a
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/358493
Reviewed-by: Julius Werner <jwerner@chromium.org>
(cherry picked from commit eb4f39d3db535109959cacc9a6066ec8400c0875)
Reviewed-on: https://chromium-review.googlesource.com/358935
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Commit-Queue: Bernie Thompson <bhthompson@chromium.org>
Tested-by: Bernie Thompson <bhthompson@chromium.org>
diff --git a/firmware/lib/rollback_index.c b/firmware/lib/rollback_index.c
index 94690f5..232a0a4 100644
--- a/firmware/lib/rollback_index.c
+++ b/firmware/lib/rollback_index.c
@@ -420,7 +420,7 @@
/* Read the firmware space. */
result = ReadSpaceFirmware(rsf);
-#ifndef TPM2_MDOE
+#ifndef TPM2_MODE
if (TPM_E_BADINDEX == result) {
RollbackSpaceKernel rsk;