summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2011-09-30 11:13:06 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-03-29 20:14:43 +0200
commitbe25a4ded0957a0ca31f94d32857f1cb03aa42ff (patch)
tree395f83eff0a67c480d02105f5ed23ce0f2b3bc35 /src
parent32da8bed197c5c7efc226dd9cfc3b75bad496f05 (diff)
downloadcoreboot-be25a4ded0957a0ca31f94d32857f1cb03aa42ff.tar.xz
CBMEM CONSOLE: Add CBMEM type for console buffer.
Add CBMEM type for the console buffer section. Change-Id: I02757c06d71e46af77b02b90b0e6018a37b62406 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: http://review.coreboot.org/720 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/cbmem.h1
-rw-r--r--src/lib/cbmem.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index e86415b31b..6a48dd20e0 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -47,6 +47,7 @@ extern uint64_t high_tables_base, high_tables_size;
#define CBMEM_ID_RESUME 0x5245534d
#define CBMEM_ID_SMBIOS 0x534d4254
#define CBMEM_ID_TIMESTAMP 0x54494d45
+#define CBMEM_ID_CONSOLE 0x434f4e53
#define CBMEM_ID_NONE 0x00000000
int cbmem_initialize(void);
diff --git a/src/lib/cbmem.c b/src/lib/cbmem.c
index f800b04866..b09b070d7a 100644
--- a/src/lib/cbmem.c
+++ b/src/lib/cbmem.c
@@ -256,6 +256,7 @@ void cbmem_list(void)
case CBMEM_ID_RESUME: printk(BIOS_DEBUG, "ACPI RESUME"); break;
case CBMEM_ID_SMBIOS: printk(BIOS_DEBUG, "SMBIOS "); break;
case CBMEM_ID_TIMESTAMP: printk(BIOS_DEBUG, "TIME STAMP "); break;
+ case CBMEM_ID_CONSOLE: printk(BIOS_DEBUG, "CONSOLE "); break;
default: printk(BIOS_DEBUG, "%08x ", cbmem_toc[i].id);
}
printk(BIOS_DEBUG, "%08llx ", cbmem_toc[i].base);