diff options
author | Furquan Shaikh <furquan@google.com> | 2018-07-20 13:50:16 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-07-23 04:05:12 +0000 |
commit | 367956d58e1446ec63169d9bc08426d519da754e (patch) | |
tree | 3373c1412d49c4cf1cd1c70a537aa8bb90f3860b /src/lib/thread.c | |
parent | f63422aac05434ab6e7e533e0c80411e4da44952 (diff) |
mb/google/octopus: Add support for smbios_mainboard_sku
This change provides implementation of smbios_mainboard_sku
that queries the EC for SKU ID using CBI. Currently,
get_board_sku() is implemented as a common function for all
variants since this is the only way used by all the octopus
variants to query SKU ID. If this changes in the future,
this function can be changed to a variant_* callback.
BUG=b:111671163
TEST=Verified following on phaser:
1. "mosys platform sku" returns the SKU ID programmed in CBI
2. "dmidecode -t 1" shows SKU information as "skuXYZ" where XYZ
is the SKU ID programmed in CBI.
Change-Id: Ic0d344b3c13632f2ca582adc36aa337b99959712
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/27560
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jett Rink <jettrink@google.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'src/lib/thread.c')
0 files changed, 0 insertions, 0 deletions