summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-12-16 13:12:00 -0800
committerStefan Reinauer <reinauer@chromium.org>2011-12-16 13:54:50 -0800
commit356dbfde0bbe728721376eb0f1726622ec9bd393 (patch)
tree9dc3fb0bf0db38677a94d67a1f4e32fbda8ae320 /lib
parentdd884e4cd60a6f9fe447a9a81f85b0a218e0e9c0 (diff)
For ChromeOS systems, don't show coreboot as BIOS vendor/version
Instead, once we know which firmware we are actually running on, copy the FWID to the BIOS version in the SMBIOS table. BUG=chrome-os-partner:6827 TEST=Boot Stumpy, go to chrome://settings/about and see Google_Stumpy.... show up as "Firmware" Signed-off-by: Stefan Reinauer <reinauer@google.com> Also needs https://gerrit-int.chromium.org/#change,9288 Change-Id: I2e16a2fdb7fb835b0a0fbf08462d8a98b3cfe208 Reviewed-on: https://gerrit.chromium.org/gerrit/13098 Tested-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/chromeos/crossystem_data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chromeos/crossystem_data.c b/lib/chromeos/crossystem_data.c
index 4bb481429f..df387c1484 100644
--- a/lib/chromeos/crossystem_data.c
+++ b/lib/chromeos/crossystem_data.c
@@ -308,6 +308,9 @@ int crossystem_data_update_acpi(crossystem_data_t *cdata)
acpi_table->vbt7 = cdata->firmware_type;
acpi_table->vbt8 = RECOVERY_REASON_NONE;
acpi_table->vbt9 = cdata->fmap_offset;
+
+ strncpy((char *)acpi_table->vbt10,
+ (const char *)cdata->firmware_id, 64);
return 0;
}
#endif