soc/intel/icelake: Don't use CAR_GLOBAL

All platforms using this code have NO_CAR_GLOBAL_MIGRATION.

Change-Id: Ia210af6ef1a97da67d00036070faa1ceb3ce250b
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/30515
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Arthur Heymans 2018-12-29 14:21:25 +01:00 committed by Patrick Georgi
parent e2286782c3
commit 61e18ebdf1
2 changed files with 2 additions and 4 deletions

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <arch/early_variables.h>
#include <arch/io.h>
#include <console/console.h>
#include <device/device.h>

View file

@ -14,7 +14,6 @@
*/
#include <arch/io.h>
#include <arch/early_variables.h>
#include <assert.h>
#include <chip.h>
#include <cpu/x86/mtrr.h>
@ -33,7 +32,7 @@
#include <string.h>
#include <timestamp.h>
static struct chipset_power_state power_state CAR_GLOBAL;
static struct chipset_power_state power_state;
#define FSP_SMBIOS_MEMORY_INFO_GUID \
{ \
@ -112,7 +111,7 @@ asmlinkage void car_stage_entry(void)
bool s3wake;
struct postcar_frame pcf;
uintptr_t top_of_ram;
struct chipset_power_state *ps = car_get_var_ptr(&power_state);
struct chipset_power_state *ps = &power_state;
console_init();