diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2023-09-06 10:57:56 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-09-18 13:18:23 +0000 |
commit | f65ae7490a8f8c1ada67902b149ac6591c21b2d1 (patch) | |
tree | f62ca90dbfde5fe3359a6bc0646e3a294c95df15 /src/mainboard/intel/jasperlake_rvp | |
parent | 4712f5d56002ec7c2e986c9d1c1914177b52c445 (diff) |
clean-up: Remove the no more necessary `ENV_HAS_DATA_SECTION` flag
With commit b7832de0260b042c25bf8f53abcb32e20a29ae9c ("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>
Diffstat (limited to 'src/mainboard/intel/jasperlake_rvp')
-rw-r--r-- | src/mainboard/intel/jasperlake_rvp/board_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/jasperlake_rvp/board_id.c b/src/mainboard/intel/jasperlake_rvp/board_id.c index 90609ff079..d1876de48f 100644 --- a/src/mainboard/intel/jasperlake_rvp/board_id.c +++ b/src/mainboard/intel/jasperlake_rvp/board_id.c @@ -23,7 +23,7 @@ static uint32_t get_board_id_via_ext_ec(void) */ int get_board_id(void) { - MAYBE_STATIC_NONZERO int id = -1; + static int id = -1; if (id < 0) { if (CONFIG(EC_GOOGLE_CHROMEEC)) { |