Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37038 )
Change subject: ec/google/chromeec: Drop CAR_GLOBAL_MIGRATION support
......................................................................
ec/google/chromeec: Drop CAR_GLOBAL_MIGRATION support
Change-Id: I09bca1897920871a6b29c25dc2bad94a8061da29
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/ec/google/chromeec/ec.c
M src/ec/google/chromeec/ec_spi.c
2 files changed, 1 insertion(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/37038/1
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c
index a992146..5dff162 100644
--- a/src/ec/google/chromeec/ec.c
+++ b/src/ec/google/chromeec/ec.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <cbmem.h>
#include <console/console.h>
-#include <arch/early_variables.h>
#include <assert.h>
#include <bootmode.h>
#include <bootstate.h>
@@ -231,7 +230,7 @@
#define UHEPI_SUPPORTED 1
#define UHEPI_NOT_SUPPORTED 2
- static int uhepi_support CAR_GLOBAL;
+ static int uhepi_support;
if (!uhepi_support) {
uhepi_support = google_chromeec_check_feature
diff --git a/src/ec/google/chromeec/ec_spi.c b/src/ec/google/chromeec/ec_spi.c
index c47d419..84a605b 100644
--- a/src/ec/google/chromeec/ec_spi.c
+++ b/src/ec/google/chromeec/ec_spi.c
@@ -20,8 +20,6 @@
#include <spi-generic.h>
#include <timer.h>
-/* This is assuming that this driver is not used on x86. If that changes, this
- might need to become a CAR_GLOBAL or maybe even more complicated. */
static struct stopwatch cs_cooldown_sw;
static const long cs_cooldown_us = 200;
--
To view, visit https://review.coreboot.org/c/coreboot/+/37038
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I09bca1897920871a6b29c25dc2bad94a8061da29
Gerrit-Change-Number: 37038
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newchange