summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/pmbase.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-12-29 13:35:26 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-12 22:17:37 +0000
commitf751aee9268a8fe1840873ae72ed06a1cfeebf5e (patch)
treee638c4ec00b6a1f7d73cb72d6e0543e016184531 /src/southbridge/intel/common/pmbase.c
parent33ab29fd7c3b73f24186afcced08c163f27b1bcb (diff)
downloadcoreboot-f751aee9268a8fe1840873ae72ed06a1cfeebf5e.tar.xz
sb/intel/common: Remove CAR_GLOBAL use
We have NO_CAR_GLOBAL_MIGRATION now. Change-Id: Ic2c90d264d851ab4abeca07f412d43d088ad96dc Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/30506 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/common/pmbase.c')
-rw-r--r--src/southbridge/intel/common/pmbase.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/southbridge/intel/common/pmbase.c b/src/southbridge/intel/common/pmbase.c
index 8b3274f524..563856c23e 100644
--- a/src/southbridge/intel/common/pmbase.c
+++ b/src/southbridge/intel/common/pmbase.c
@@ -18,7 +18,6 @@
#include <arch/io.h>
#include <device/device.h>
#include <device/pci.h>
-#include <arch/early_variables.h>
#include <assert.h>
#include <security/vboot/vboot_common.h>
@@ -42,7 +41,7 @@ u16 lpc_get_pmbase(void)
/* Don't assume PMBASE is still the same */
return pci_read_config16(PCH_LPC_DEV, PMBASE) & 0xfffc;
#else
- static u16 pmbase CAR_GLOBAL;
+ static u16 pmbase;
if (pmbase)
return pmbase;