From 356dbfde0bbe728721376eb0f1726622ec9bd393 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 16 Dec 2011 13:12:00 -0800 Subject: 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 Also needs https://gerrit-int.chromium.org/#change,9288 Change-Id: I2e16a2fdb7fb835b0a0fbf08462d8a98b3cfe208 Reviewed-on: https://gerrit.chromium.org/gerrit/13098 Tested-by: Stefan Reinauer Reviewed-by: Duncan Laurie --- lib/chromeos/crossystem_data.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3