]> git.sur5r.net Git - u-boot/commitdiff
x86: chromebook_link: Expand early malloc() memory
authorSimon Glass <sjg@chromium.org>
Tue, 8 Sep 2015 23:52:45 +0000 (17:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 29 Sep 2015 04:27:17 +0000 (22:27 -0600)
Now that PCI bridges are probed before relocation we need additional memory.
Each PCI bridge takes 240 bytes at present since it uses the same uclass as
the PCI controller. Probably we should split this out so that bridges have
their own uclass.

Expand the memory on link so that it works correctly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
configs/chromebook_link_defconfig

index 1c10124e8518e5b0de3a996cbff5664b3d6f6d78..21e85f3c666f1a6beaddb6ef04a94374fbdbc604 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_X86=y
+CONFIG_SYS_MALLOC_F_LEN=0x1800
 CONFIG_VENDOR_GOOGLE=y
 CONFIG_DEFAULT_DEVICE_TREE="chromebook_link"
 CONFIG_TARGET_CHROMEBOOK_LINK=y