diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-03-29 10:59:21 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-04-04 02:25:50 +0200 |
commit | bceccec0f769fa53bf5786952aaf824f82e4e777 (patch) | |
tree | 24c3f14db12ef3140f17997f4dde14f08b917895 /src/mainboard/siemens/mc_apl1/Makefile.inc | |
parent | 42402772e52a6a0b8c797cb14e2c33f034d840b3 (diff) | |
download | coreboot-bceccec0f769fa53bf5786952aaf824f82e4e777.tar.xz |
AGESA: Handle HEAP_CALLOUT_RUNTIME allocation more cleanly
This was guarded because AGESA.h only defined it starting from fam15
header files. We can simply test if it has been defined.
The way coreboot currently handles this request, is to make the
allocation outside the heap, since heap may not be in CBMEM and thus
not available runtime. The acquired buffer from Allocate() would not
be found with Locate() or Deallocate(), so move the alloc_cbmem()
call for better code symmetry.
Change-Id: Ibf0066913a0b73e768488c3afbeb70139a3961eb
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/19039
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/siemens/mc_apl1/Makefile.inc')
0 files changed, 0 insertions, 0 deletions