From 786879777a70cb82c94588e6d14c8fdd18ab4345 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Wed, 22 Apr 2015 23:16:31 -0600 Subject: fsp: Move fsp to fsp1_0 Prepare for FSP 1.1 integration by moving the FSP to a FSP 1.0 specific directory. See follow-on patches for sharing of common code. Change-Id: Ic58cb4074c65b91d119909132a012876d7ee7b74 Signed-off-by: Marc Jones Reviewed-on: http://review.coreboot.org/9970 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/cpu/x86/Kconfig | 4 ++-- src/cpu/x86/car.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/cpu/x86') diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig index 41c22886c5..21a0fac79c 100644 --- a/src/cpu/x86/Kconfig +++ b/src/cpu/x86/Kconfig @@ -105,12 +105,12 @@ config X86_AMD_FIXED_MTRRS This option informs the MTRR code to use the RdMem and WrMem fields in the fixed MTRR MSRs. -config PLATFORM_USES_FSP +config PLATFORM_USES_FSP1_0 bool default n help Selected for Intel processors/platform combinations that use the - Intel Firmware Support Package (FSP) for initialization. + Intel Firmware Support Package (FSP) 1.0 for initialization. config PARALLEL_MP def_bool n diff --git a/src/cpu/x86/car.c b/src/cpu/x86/car.c index 18d74b25c7..342a179bfc 100644 --- a/src/cpu/x86/car.c +++ b/src/cpu/x86/car.c @@ -23,8 +23,8 @@ #include #include -#if IS_ENABLED(CONFIG_PLATFORM_USES_FSP) -#include +#if IS_ENABLED(CONFIG_PLATFORM_USES_FSP1_0) +#include #endif typedef void (* const car_migration_func_t)(void); @@ -67,7 +67,7 @@ void *car_get_var_ptr(void *var) return var; } -#if IS_ENABLED(CONFIG_PLATFORM_USES_FSP) +#if IS_ENABLED(CONFIG_PLATFORM_USES_FSP1_0) migrated_base=(char *)find_saved_temp_mem( *(void **)CBMEM_FSP_HOB_PTR); #else @@ -100,7 +100,7 @@ void *car_sync_var_ptr(void *var) if (*mig_var < _car_start || *mig_var > _car_end) return mig_var; -#if !IS_ENABLED(CONFIG_PLATFORM_USES_FSP) +#if !IS_ENABLED(CONFIG_PLATFORM_USES_FSP1_0) /* Keep console buffer in CAR until cbmemc_reinit() moves it. */ if (*mig_var == _car_end) return mig_var; @@ -149,7 +149,7 @@ static void do_car_migrate_hooks(void) void car_migrate_variables(void) { - if (!IS_ENABLED(PLATFORM_USES_FSP)) + if (!IS_ENABLED(PLATFORM_USES_FSP1_0)) do_car_migrate_variables(); do_car_migrate_hooks(); -- cgit v1.2.3