From: Anton Gerasimov Date: Mon, 24 Dec 2018 01:29:04 +0000 (+0100) Subject: zynq: Kconfig: extend the bootstrap malloc() pool X-Git-Tag: v2019.04-rc1~28^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8a2607020c97095d39e260372b28ea5e13bbc977;p=oweals%2Fu-boot.git zynq: Kconfig: extend the bootstrap malloc() pool Most of the memory is being consumed by device binding code, more space needed for other data structures. Z-turn board has already hit the limit, others may follow soon. Measuring only the memory consumed in device_bind_common, I've got the following results (in decimal): root_driver: 108 mod_exp_sw: 108 amba: 120 serial@e0000000 aka uart0: 112 serial@e0001000 aka uart1: 88 spi@e000d000 aka qspi: 120 sdhci@e0100000 aka mmc0: 455 sdhci@e0100000.blk: 208 slcr@f8000000: 96 clkc@100: 72 (total) 1487 = 0x5cf of 0x600 Signed-off-by: Anton Gerasimov Signed-off-by: Michal Simek --- diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig index a599ed63ee..21dfebf5c0 100644 --- a/arch/arm/mach-zynq/Kconfig +++ b/arch/arm/mach-zynq/Kconfig @@ -55,7 +55,7 @@ config SYS_CONFIG_NAME will be used for board configuration. config SYS_MALLOC_F_LEN - default 0x600 + default 0x800 config SYS_MALLOC_LEN default 0x1400000