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>
This commit is contained in:
Kyösti Mälkki
2014-12-19 09:19:29 +02:00
committed by Jonathan A. Kollasch
parent 773485b892
commit 87accccdc2
6 changed files with 17 additions and 14 deletions

View File

@@ -158,9 +158,7 @@ config EARLY_CBMEM_INIT
romstage.c and should be enabled by the board's Kconfig.
config BROKEN_CAR_MIGRATE
bool
default y if !EARLY_CBMEM_INIT && HAVE_ACPI_RESUME
default n
def_bool !EARLY_CBMEM_INIT
help
Many boards use CAR_GLOBAL but have no EARLY_CBMEM_INIT and
manage CAR migration on S3 resume path only. Couple boards use