CBMEM: Always build for x86 romstage
commit87accccdc2dda421dee967badbdbc701fea0753e
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Fri, 19 Dec 2014 07:19:29 +0000 (19 09:19 +0200)
committerJonathan A. Kollasch <jakllsch@kollasch.net>
Tue, 30 Dec 2014 16:47:22 +0000 (30 17:47 +0100)
tree7209bacea804d88d24269fd33e440327c4659313
parent773485b8920145443da8b09712553c10c954fed1
CBMEM: Always build for x86 romstage

Always build CBMEM for romstage, even for boards that will not use it.
We further restrict car_migrate_variables() runs to non-ROMCC boards without
BROKEN_CAR_MIGRATE.

This fixes regression of commit 71b21455 that broke CBMEM console support
for boards with a combination of !EARLY_CBMEM_INIT && !HAVE_ACPI_RESUME.

Change-Id: Ife91d7baebdc9bd1e086896400059a165d3aa90f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/7877
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/Kconfig
src/arch/x86/boot/Makefile.inc
src/arch/x86/include/arch/early_variables.h
src/cpu/x86/Makefile.inc
src/cpu/x86/car.c
src/lib/Makefile.inc