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>
This commit is contained in:
parent
654f293465
commit
f2f9386b64
|
@ -21,7 +21,12 @@
|
||||||
#define _CBMEM_H_
|
#define _CBMEM_H_
|
||||||
|
|
||||||
/* Reserve 128k for ACPI and other tables */
|
/* 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 )
|
#define HIGH_MEMORY_DEF_SIZE ( 128 * 1024 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __PRE_RAM__
|
#ifndef __PRE_RAM__
|
||||||
extern uint64_t high_tables_base, high_tables_size;
|
extern uint64_t high_tables_base, high_tables_size;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue