| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <boardid.h> |
| 4 | #include <ec/google/wilco/commands.h> |
| 5 | #include <smbios.h> |
| 6 | #include <variant/variant.h> |
| 7 | |
| 8 | uint32_t sku_id(void) |
| 9 | { |
| 10 | if (wilco_ec_signed_fw()) |
| 11 | return VARIANT_SKU_ID_SIGNED_EC; |
| 12 | else |
| 13 | return VARIANT_SKU_ID; |
| 14 | } |
| 15 | |
| 16 | const char *smbios_system_sku(void) |
| 17 | { |
| 18 | if (wilco_ec_signed_fw()) |
| 19 | return VARIANT_SKU_NAME_SIGNED_EC; |
| 20 | else |
| 21 | return VARIANT_SKU_NAME; |
| 22 | } |