[coreboot] Patch set updated for coreboot: 0f2bcd9 Increase CBMEM to accommodate larger console.

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Mar 9 02:23:31 CET 2012


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/725

-gerrit

commit 0f2bcd99cd43691d0ab77d2bf1bacc83ef8dabde
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Tue Oct 4 10:44:16 2011 -0700

    Increase CBMEM to accommodate larger console.
    
    This change adds 128K to the memory amount set aside for CBMEM in
    case the CBMEM console is enabled (to keep the CBMEM 128K byte
    aligned). The console buffer size is being set to 64K, which is
    enough to accommodate the most verbose coreboot console and
    u-boot console.
    
    Change-Id: If583013dfb210de5028d69577675095c6fe2f3ab
    Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
---
 src/include/cbmem.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index a19ec5a..6a48dd2 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -21,7 +21,12 @@
 #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




More information about the coreboot mailing list