summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJeff Chase <jnchase@google.com>2020-02-24 18:43:23 -0500
committerShelley Chen <shchen@google.com>2020-02-26 05:39:43 +0000
commit71090c6063fd73b7390149b7234d4070cc904855 (patch)
treed029dc9716a1d3aa691d2ae583dbbb1b1a4d6b9c /src/mainboard
parent4f81bba18b92a04f147611d5b9ec9453b467f65b (diff)
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/fizz/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/fizz/mainboard.c b/src/mainboard/google/fizz/mainboard.c
index 939778630c..89795f5eb3 100644
--- a/src/mainboard/google/fizz/mainboard.c
+++ b/src/mainboard/google/fizz/mainboard.c
@@ -184,7 +184,7 @@ static uint8_t board_oem_id(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());