mb/google/fizz: allow 8 bit sku ids
Change-Id: I663678a4c572fe80298f7388870d5cd403122b98 Signed-off-by: Jeff Chase <jnchase@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39109 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
parent
4f81bba18b
commit
71090c6063
|
@ -184,7 +184,7 @@ static uint8_t board_oem_id(void)
|
||||||
|
|
||||||
const char *smbios_system_sku(void)
|
const char *smbios_system_sku(void)
|
||||||
{
|
{
|
||||||
static char sku_str[5]; /* sku{0..7} */
|
static char sku_str[7]; /* sku{0..255} */
|
||||||
|
|
||||||
snprintf(sku_str, sizeof(sku_str), "sku%d", board_oem_id());
|
snprintf(sku_str, sizeof(sku_str), "sku%d", board_oem_id());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue