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>
This commit is contained in:
committed by
Felix Held
parent
2fba476a6e
commit
e8ce421069
@@ -6,14 +6,10 @@
|
|||||||
|
|
||||||
uint32_t variant_board_sku(void)
|
uint32_t variant_board_sku(void)
|
||||||
{
|
{
|
||||||
#if ENV_ROMSTAGE
|
|
||||||
uint32_t sku_id = SKU_UNKNOWN;
|
|
||||||
#else
|
|
||||||
static uint32_t sku_id = SKU_UNKNOWN;
|
static uint32_t sku_id = SKU_UNKNOWN;
|
||||||
|
|
||||||
if (sku_id != SKU_UNKNOWN)
|
if (sku_id != SKU_UNKNOWN)
|
||||||
return sku_id;
|
return sku_id;
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Nautilus uses GPP_B20 to determine SKU
|
* Nautilus uses GPP_B20 to determine SKU
|
||||||
|
Reference in New Issue
Block a user