summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-11-06 15:41:53 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-11-07 17:23:51 +0000
commite8ce421069731cebe6cb9303020b5d95146e764e (patch)
treef803d0dc838aef9274683a0f72a53c4233ae02b9 /src/mainboard/google/poppy
parent2fba476a6e7e4578e0590b56d02147e01f100d8a (diff)
mainboard/google/poppy: Use initialized data
A .data section now exists. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Ic1510221582aca91c814d43f522a8fb6cba05921 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78937 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/poppy')
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/sku.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/google/poppy/variants/nautilus/sku.c b/src/mainboard/google/poppy/variants/nautilus/sku.c
index dc1a7ee8f1..9df078c79f 100644
--- a/src/mainboard/google/poppy/variants/nautilus/sku.c
+++ b/src/mainboard/google/poppy/variants/nautilus/sku.c
@@ -6,14 +6,10 @@
uint32_t variant_board_sku(void)
{
-#if ENV_ROMSTAGE
- uint32_t sku_id = SKU_UNKNOWN;
-#else
static uint32_t sku_id = SKU_UNKNOWN;
if (sku_id != SKU_UNKNOWN)
return sku_id;
-#endif
/*
* Nautilus uses GPP_B20 to determine SKU