From d0269a636dedbb5ea219f20b5dfa1bebb60720eb Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Wed, 16 Aug 2017 15:49:50 -0600 Subject: soc/intel/apollolake: Fix CONFIG_FSP_CAR build error Remove cpu.h from the cache-as-ram setup and teardown files that rely on the FSP implementation. The struct device statement causes a build failure and there appears to be nothing needed from cpu.h in the two .S files. TEST: Build Google Reef with FSP_CAR selected on Chipset menu and add FSP binaries on the Generic Drivers menu. Change-Id: I560b730c18d7ec73b65f2e195b790e7dcacfd6bb Signed-off-by: Marshall Dawson Reviewed-on: https://review.coreboot.org/21057 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/soc/intel/apollolake/bootblock/cache_as_ram_fsp.S | 1 - src/soc/intel/apollolake/exit_car_fsp.S | 1 - 2 files changed, 2 deletions(-) (limited to 'src') diff --git a/src/soc/intel/apollolake/bootblock/cache_as_ram_fsp.S b/src/soc/intel/apollolake/bootblock/cache_as_ram_fsp.S index f55582a706..4c4fa71b50 100644 --- a/src/soc/intel/apollolake/bootblock/cache_as_ram_fsp.S +++ b/src/soc/intel/apollolake/bootblock/cache_as_ram_fsp.S @@ -19,7 +19,6 @@ #include #include #include -#include #include <../../../arch/x86/walkcbfs.S> diff --git a/src/soc/intel/apollolake/exit_car_fsp.S b/src/soc/intel/apollolake/exit_car_fsp.S index 32c276c5eb..92289a0145 100644 --- a/src/soc/intel/apollolake/exit_car_fsp.S +++ b/src/soc/intel/apollolake/exit_car_fsp.S @@ -16,7 +16,6 @@ #include #include -#include /* * This path for CAR teardown is taken when CONFIG_FSP_CAR is employed. -- cgit v1.2.3