coreboot-kgpe-d16/src/arch
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
..
arm arch/*: Update Kconfig symbol usage 2017-07-07 16:05:16 +00:00
arm64 arch/arm: Correct checkpatch errors 2017-06-02 18:30:53 +02:00
mips arch/*: Update Kconfig symbol usage 2017-07-07 16:05:16 +00:00
power8 Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
riscv arch/*: Update Kconfig symbol usage 2017-07-07 16:05:16 +00:00
x86 AGESA boards: Fix regressions with LATE_CBMEM_INIT 2017-07-17 19:25:34 +00:00