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:
parent
2fba476a6e
commit
e8ce421069
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue