diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2011-10-04 10:44:16 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-03-29 20:13:43 +0200 |
commit | f2f9386b640bddb813c941deccfc9e9c168927d8 (patch) | |
tree | 6fa1bb450c438eeb40c75431e8ad7ad29bec3157 | |
parent | 654f2934653ee5ca4bd43217abbc49a9140c8ad0 (diff) |
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@chromium.org>
Reviewed-on: http://review.coreboot.org/725
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r-- | 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 c3f10efee1..e86415b31b 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 |