CBMEM CONSOLE: Add CBMEM type for console buffer.
[coreboot.git] / src / include / cbmem.h
index a681c36ea81cc92de94f1d3898466e04e012a218..6a48dd20e08810c66c558a4d84d24589a2bc062e 100644 (file)
 #define _CBMEM_H_
 
 /* Reserve 128k for ACPI and other tables */
+#if CONFIG_CONSOLE_CBMEM
+#define HIGH_MEMORY_DEF_SIZE   ( 256 * 1024 )
+#else
 #define HIGH_MEMORY_DEF_SIZE   ( 128 * 1024 )
+#endif
+
 #ifndef __PRE_RAM__
 extern uint64_t high_tables_base, high_tables_size;
 #endif
@@ -41,6 +46,8 @@ extern uint64_t high_tables_base, high_tables_size;
 #define CBMEM_ID_MPTABLE       0x534d5054
 #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);