zynq: Kconfig: extend the bootstrap malloc() pool
authorAnton Gerasimov <tossel@gmail.com>
Mon, 24 Dec 2018 01:29:04 +0000 (02:29 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Jan 2019 09:03:45 +0000 (10:03 +0100)
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 <tossel@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/Kconfig

index a599ed6..21dfebf 100644 (file)
@@ -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