diff options
-rw-r--r-- | firmware/Makefile | 4 | ||||
-rw-r--r-- | firmware/lib/vboot_display.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 61ecf5ef..8d8e2ee2 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -47,7 +47,7 @@ CFLAGS += -DUNROLL_LOOPS # without giving us a chance to react. This is not an example of the Right # Way to do things. See chrome-os-partner:7689, and the commit message # that made this change. -CFLAGS += -DRANDOM_POWER_OFF +CFLAGS += -DSAVE_LOCALE_IMMEDIATELY # On x86 we don't actually read the GBB data into RAM until it is needed. # Therefore it makes sense to cache it rather than reading it each time. diff --git a/firmware/lib/vboot_display.c b/firmware/lib/vboot_display.c index 065eee52..bc623790 100644 --- a/firmware/lib/vboot_display.c +++ b/firmware/lib/vboot_display.c @@ -642,7 +642,7 @@ VbError_t VbCheckDisplayKey(VbCommonParams* cparams, uint32_t key, VBDEBUG(("VbCheckDisplayKey() - change localization to %d\n", (int)loc)); VbNvSet(vncptr, VBNV_LOCALIZATION_INDEX, loc); -#ifdef RANDOM_POWER_OFF +#ifdef SAVE_LOCALE_IMMEDIATELY VbNvTeardown(vncptr); /* really only computes checksum */ if (vncptr->raw_changed) VbExNvStorageWrite(vncptr->raw); |