clean-up: Remove the no more necessary ENV_HAS_DATA_SECTION
flag
With commit b7832de026
("x86: Add .data
section support for pre-memory stages"), the `ENV_HAS_DATA_SECTION'
flag and its derivatives can now be removed from the code.
Change-Id: Ic0afac76264a9bd4a9c93ca35c90bd84e9b747a2
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77291
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Felix Held
parent
4712f5d560
commit
f65ae7490a
@@ -5,7 +5,7 @@
|
||||
|
||||
uint32_t board_id(void)
|
||||
{
|
||||
MAYBE_STATIC_NONZERO uint32_t id = BOARD_ID_INIT;
|
||||
static uint32_t id = BOARD_ID_INIT;
|
||||
|
||||
if (id == BOARD_ID_INIT) {
|
||||
if (google_chromeec_get_board_version(&id))
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
uint32_t google_chromeec_get_board_sku(void)
|
||||
{
|
||||
MAYBE_STATIC_NONZERO uint32_t sku_id = CROS_SKU_UNKNOWN;
|
||||
static uint32_t sku_id = CROS_SKU_UNKNOWN;
|
||||
|
||||
if (sku_id != CROS_SKU_UNKNOWN)
|
||||
return sku_id;
|
||||
|
Reference in New Issue
Block a user