ec/google/chromeec: Drop CAR_GLOBAL_MIGRATION support
Change-Id: I09bca1897920871a6b29c25dc2bad94a8061da29 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37038 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
dba22d2f9d
commit
95b3f286a8
|
@ -17,7 +17,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <arch/early_variables.h>
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <bootmode.h>
|
#include <bootmode.h>
|
||||||
#include <bootstate.h>
|
#include <bootstate.h>
|
||||||
|
@ -231,7 +230,7 @@ bool google_chromeec_is_uhepi_supported(void)
|
||||||
#define UHEPI_SUPPORTED 1
|
#define UHEPI_SUPPORTED 1
|
||||||
#define UHEPI_NOT_SUPPORTED 2
|
#define UHEPI_NOT_SUPPORTED 2
|
||||||
|
|
||||||
static int uhepi_support CAR_GLOBAL;
|
static int uhepi_support;
|
||||||
|
|
||||||
if (!uhepi_support) {
|
if (!uhepi_support) {
|
||||||
uhepi_support = google_chromeec_check_feature
|
uhepi_support = google_chromeec_check_feature
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
#include <spi-generic.h>
|
#include <spi-generic.h>
|
||||||
#include <timer.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 struct stopwatch cs_cooldown_sw;
|
||||||
static const long cs_cooldown_us = 200;
|
static const long cs_cooldown_us = 200;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue