aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-11-06 15:49:24 +0100
committerMartin L Roth <gaumless@gmail.com>2023-11-07 17:26:30 +0000
commitab5a9f937818cbfd1fc686a77c2de818e15d1cfc (patch)
tree5b0f4f80a6b661dbe7d77dd33e9a4d159fbafbff /src/mainboard
parente8ce421069731cebe6cb9303020b5d95146e764e (diff)
mb/google/rambi: Fix assumption that vboot runs after romstage
Now VBOOT is always assumed to run after romstage and be linked inside romstage. This currently is the case but for flexibility reasons (e.g. linking romstage into bootblock or having a verstage before romstage) this could be more precise. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I361731c930a35e12245153920df1b6884d47064c Reviewed-on: https://review.coreboot.org/c/coreboot/+/78938 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rambi/chromeos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/rambi/chromeos.c b/src/mainboard/google/rambi/chromeos.c
index a225821fd8..50497f07aa 100644
--- a/src/mainboard/google/rambi/chromeos.c
+++ b/src/mainboard/google/rambi/chromeos.c
@@ -31,7 +31,7 @@ int get_write_protect_state(void)
* there is a 10K pullup. Disable the internal pull in romstage so that
* there isn't any ambiguity in the reading.
*/
- if (ENV_ROMSTAGE)
+ if (ENV_ROMSTAGE_OR_BEFORE)
ssus_disable_internal_pull(WP_STATUS_PAD);
/* WP is enabled when the pin is reading high. */