kill CAR_GLOBAL_MIGRATION leftovers

Change-Id: Ia3b2c10af63cd0cab42dc39f479cb69bc4df9124
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37055
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans 2019-11-20 22:25:30 +01:00 committed by Patrick Georgi
parent fdb8b13e64
commit 8601afb679
4 changed files with 2 additions and 12 deletions

View File

@ -219,7 +219,6 @@ config VERSTAGE_ADDR
config POSTCAR_STAGE config POSTCAR_STAGE
def_bool y def_bool y
depends on ARCH_X86 depends on ARCH_X86
depends on !CAR_GLOBAL_MIGRATION
config VERSTAGE_DEBUG_SPINLOOP config VERSTAGE_DEBUG_SPINLOOP
bool bool

View File

@ -25,8 +25,7 @@
DECLARE_SPIN_LOCK(console_lock) DECLARE_SPIN_LOCK(console_lock)
#define TRACK_CONSOLE_TIME (CONFIG(HAVE_MONOTONIC_TIMER) && \ #define TRACK_CONSOLE_TIME (CONFIG(HAVE_MONOTONIC_TIMER))
(ENV_RAMSTAGE || !CONFIG(CAR_GLOBAL_MIGRATION)))
static struct mono_time mt_start, mt_stop; static struct mono_time mt_start, mt_stop;
static long console_usecs; static long console_usecs;

View File

@ -6,14 +6,6 @@ source "src/cpu/*/Kconfig"
if ARCH_X86 if ARCH_X86
config CAR_GLOBAL_MIGRATION
bool
default n
help
This option is selected if there is need to migrate CAR globals.
All stages which use CAR globals can directly access the variables
from their linked addresses.
config DCACHE_RAM_BASE config DCACHE_RAM_BASE
hex hex

View File

@ -258,7 +258,7 @@
/* No .data sections with execute-in-place from ROM. */ /* No .data sections with execute-in-place from ROM. */
#define ENV_STAGE_HAS_DATA_SECTION !ENV_CACHE_AS_RAM #define ENV_STAGE_HAS_DATA_SECTION !ENV_CACHE_AS_RAM
/* No .bss sections for stage with CAR teardown. */ /* No .bss sections for stage with CAR teardown. */
#define ENV_STAGE_HAS_BSS_SECTION !(ENV_ROMSTAGE && CONFIG(CAR_GLOBAL_MIGRATION)) #define ENV_STAGE_HAS_BSS_SECTION 1
#else #else
/* Both .data and .bss, sometimes SRAM not DRAM. */ /* Both .data and .bss, sometimes SRAM not DRAM. */
#define ENV_STAGE_HAS_DATA_SECTION 1 #define ENV_STAGE_HAS_DATA_SECTION 1