summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/deltaur/chromeos.c2
-rw-r--r--src/mainboard/google/drallion/chromeos.c2
-rw-r--r--src/mainboard/google/sarien/chromeos.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/deltaur/chromeos.c b/src/mainboard/google/deltaur/chromeos.c
index 5a0c481b06..2665f463df 100644
--- a/src/mainboard/google/deltaur/chromeos.c
+++ b/src/mainboard/google/deltaur/chromeos.c
@@ -89,7 +89,7 @@ int get_recovery_mode_switch(void)
* The TPM recovery request is passed between stages through vboot data
* or cbmem depending on stage.
*/
- if (ENV_VERSTAGE &&
+ if (ENV_SEPARATE_VERSTAGE &&
tlcl_cr50_get_recovery_button(&cr50_state) == TPM_SUCCESS &&
cr50_state)
state = REC_MODE_REQUESTED;
diff --git a/src/mainboard/google/drallion/chromeos.c b/src/mainboard/google/drallion/chromeos.c
index ee3509d01e..eff43d0042 100644
--- a/src/mainboard/google/drallion/chromeos.c
+++ b/src/mainboard/google/drallion/chromeos.c
@@ -84,7 +84,7 @@ int get_recovery_mode_switch(void)
* The TPM recovery request is passed between stages through vboot data
* or cbmem depending on stage.
*/
- if (ENV_VERSTAGE &&
+ if (ENV_SEPARATE_VERSTAGE &&
tlcl_cr50_get_recovery_button(&cr50_state) == TPM_SUCCESS &&
cr50_state)
state = REC_MODE_REQUESTED;
diff --git a/src/mainboard/google/sarien/chromeos.c b/src/mainboard/google/sarien/chromeos.c
index e64bb73d0b..cd59fa9dec 100644
--- a/src/mainboard/google/sarien/chromeos.c
+++ b/src/mainboard/google/sarien/chromeos.c
@@ -82,7 +82,7 @@ int get_recovery_mode_switch(void)
* The TPM recovery request is passed between stages through vboot data
* or cbmem depending on stage.
*/
- if (ENV_VERSTAGE &&
+ if (ENV_SEPARATE_VERSTAGE &&
tlcl_cr50_get_recovery_button(&cr50_state) == TPM_SUCCESS &&
cr50_state)
state = REC_MODE_REQUESTED;