aboutsummaryrefslogtreecommitdiff
path: root/src/include/cbmem.h
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2013-05-27 16:09:44 +0200
committerRonald G. Minnich <rminnich@gmail.com>2013-06-24 00:53:52 +0200
commit5ce0506618c653c663251f94447e23f8c3f39fb7 (patch)
tree41664b6b5f0613eefa736dfa943d3d3e3b015e21 /src/include/cbmem.h
parent88ebbeb7e2a914330c869147bacb190b4270532f (diff)
AMD Fam15tn: Add support for AGESA runtime allocation in CBMEM
The IOMMU AGESA needs a reserved scratch space and it wants to allocate the stuff for runtime. So provide a simple allocator for 4 KB CBMEM page. Change-Id: I53bdfcd2cd69f84fbfbc6edea53a051f516c05cc Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Reviewed-on: http://review.coreboot.org/3315 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include/cbmem.h')
-rw-r--r--src/include/cbmem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index baec780156..efb0f904cf 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -71,6 +71,7 @@
#define CBMEM_ID_VBOOT_HANDOFF 0x780074f0
#define CBMEM_ID_CAR_GLOBALS 0xcac4e6a3
#define CBMEM_ID_NONE 0x00000000
+#define CBMEM_ID_AGESA_RUNTIME 0x41474553
#ifndef __ASSEMBLER__
#include <stdint.h>