switch-coreboot/src
Kyösti Mälkki b6a0fe59fc AGESA boards: Fix regressions with LATE_CBMEM_INIT
Some configurations of AGESA boards fail to boot after commit
  61be360 AGESA: Fix UMA calculations

Implementation of cbmem_find() for ENV_ROMSTAGE expects
that CBMEM has already been initialized. In the case of
LATE_CBMEM_INIT boards, this is not the case and cbmem_top()
returned NULL prior to the offending commmit.

By definition LATE_CBMEM_INIT does not have known cbmem_top()
in ENV_ROMSTAGE except for possible ACPI S3 resume path.

Change-Id: Icb8f44661d479e5ad43b123600305dcbc3ce11e1
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/20590
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-07-17 19:25:34 +00:00
..
acpi
arch AGESA boards: Fix regressions with LATE_CBMEM_INIT 2017-07-17 19:25:34 +00:00
commonlib Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
console src: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:57:07 +00:00
cpu vendorcode/amd/agesa: Tidy up gcccar.inc 2017-07-15 16:10:19 +00:00
device device/pciexp_device.c: Terminate CLK PM message with newline 2017-07-15 21:54:23 +00:00
drivers intel/fsp: Add and use new post codes for FSP phase indication 2017-07-17 15:16:37 +00:00
ec ec/mec1308: Fix fan control ACPI 2017-07-08 19:06:00 +00:00
include intel/fsp: Add and use new post codes for FSP phase indication 2017-07-17 15:16:37 +00:00
lib Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
mainboard google/fizz: Override PL2 and SysPL2 values 2017-07-14 22:47:31 +00:00
northbridge Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
soc soc/intel/common/gpio: clean up logical to chipset mapping 2017-07-17 15:00:30 +00:00
southbridge southbridge/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-16 19:22:18 +00:00
superio superio/ite/it8716f: Update init_ec 2017-07-08 19:02:13 +00:00
vboot Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
vendorcode vendorcode/amd/agesa: Tidy up gcccar.inc 2017-07-15 16:10:19 +00:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00