summaryrefslogtreecommitdiff
path: root/include/configs/coreboot.h
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2011-08-05 04:58:58 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:28 -0700
commita8cc6be8ef09c179c3f2a71fd94fc19db15a1038 (patch)
tree00e03f83214c2e987b306b5490e4928c522621db /include/configs/coreboot.h
parent813c76128365df6ee2d0f11293075b80767ad3af (diff)
Increase the size of the heap to 4MB
This change increases the size of the heap on i386/coreboot to 4MB to match the Tegra configurations. The extra size is needed when allocating space for copies of the read/write firmware in memory so that signatures can be checked, etc. BUG=chrome-os-partner:4552 TEST=Built and booted on x86-alex. Ran vboot_twostop and saw previously failing allocations succeed. Booted non-verified ChromeOS to the login screen. Change-Id: I075604975c90455eb21527d8153ca05a39dafa4c Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://gerrit.chromium.org/gerrit/5386 Reviewed-by: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'include/configs/coreboot.h')
-rw-r--r--include/configs/coreboot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 1c10f92a74..6fbb97a029 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -252,13 +252,13 @@
* 32kB Stack
* 16kB Cache-As-RAM @ 0x19200000
* 256kB Monitor
- * (128kB + Environment Sector Size) malloc pool
+ * (4MB + Environment Sector Size) malloc pool
*/
#define CONFIG_SYS_STACK_SIZE (32 * 1024)
#define CONFIG_SYS_INIT_SP_ADDR (256 * 1024 + 16 * 1024)
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
-#define CONFIG_SYS_MALLOC_LEN (0x20000 + 128 * 1024)
+#define CONFIG_SYS_MALLOC_LEN (0x20000 + 4 * 1024 * 1024)
/* Address of temporary Global Data */
#define CONFIG_SYS_INIT_GD_ADDR (256 * 1024)