diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2011-10-18 17:08:09 -0700 |
---|---|---|
committer | Stefan Reinauer <reinauer@google.com> | 2011-10-18 18:06:37 -0700 |
commit | f4aaeddf25c810eab57d4c13b2f44b9a2abfb673 (patch) | |
tree | 06766c313b4aca551633b1fc38a8cecbec5077ab /lib | |
parent | 7e2f6e6131da700465576911d45ad573e4d3e179 (diff) |
Don't use ARM's hard coded RO value for EC status on x86.
But let coreboot pre-fill that field instead.
BUG=chrome-os-partner:6212
TEST=boot coreboot+u-boot on Lumpy, see EC firmware reported as RW in
crossystem.
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Change-Id: Icc4ac474e19dc72b61040faafbe1a184738564d0
Reviewed-on: http://gerrit.chromium.org/gerrit/10266
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chromeos/crossystem_data.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chromeos/crossystem_data.c b/lib/chromeos/crossystem_data.c index da53a5e5b12..4bb481429f5 100644 --- a/lib/chromeos/crossystem_data.c +++ b/lib/chromeos/crossystem_data.c @@ -291,7 +291,8 @@ int crossystem_data_update_acpi(crossystem_data_t *cdata) acpi_table->vbt0 = BOOT_REASON_OTHER; acpi_table->vbt1 = crossystem_fw_index_vdat_to_binf(vdat->firmware_index); - acpi_table->vbt2 = cdata->active_ec_firmware; + /* active_ec_firmware(vbt2) is set up by coreboot, so we don't + * set it up here on purpose. */ acpi_table->vbt3 = (cdata->boot_write_protect_switch ? CHSW_FIRMWARE_WP_DIS : 0) | (cdata->boot_recovery_switch ? CHSW_RECOVERY_X86 : 0) | |