Anil Kumar K has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/58189 )
Change subject: [Test] mb/adlrvp: Update mainboard smbios name and SKU ID ......................................................................
[Test] mb/adlrvp: Update mainboard smbios name and SKU ID
Change-Id: I2b70f65f4467232015c2dc167beb3bfa91870fcb --- M src/mainboard/intel/adlrvp/Kconfig M src/mainboard/intel/adlrvp/mainboard.c 2 files changed, 6 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/58189/1
diff --git a/src/mainboard/intel/adlrvp/Kconfig b/src/mainboard/intel/adlrvp/Kconfig index c62adbe..45a2721 100644 --- a/src/mainboard/intel/adlrvp/Kconfig +++ b/src/mainboard/intel/adlrvp/Kconfig @@ -56,6 +56,9 @@ config MAINBOARD_PART_NUMBER default "Alder Lake Client Platform"
+config MAINBOARD_SMBIOS_PART_NUMBER + default "alderlake_m_extec" + config MAINBOARD_VENDOR string default "Intel Corporation" diff --git a/src/mainboard/intel/adlrvp/mainboard.c b/src/mainboard/intel/adlrvp/mainboard.c index a113683..8ae3187 100644 --- a/src/mainboard/intel/adlrvp/mainboard.c +++ b/src/mainboard/intel/adlrvp/mainboard.c @@ -15,10 +15,10 @@
const char *smbios_system_sku(void) { - static char sku_str[7] = ""; - uint8_t sku_id = get_board_id(); + static char sku_str[14] = ""; + int sku_id = 2147483647;
- snprintf(sku_str, sizeof(sku_str), "sku%u", sku_id); + snprintf(sku_str, sizeof(sku_str), "sku%d", sku_id); return sku_str; }