From: Ian Campbell Date: Sun, 16 Mar 2014 13:25:33 +0000 Subject: [U-Boot] [PATCH v1 5/9] sunxi: generic sun7i build infrastructure. In-Reply-To: <20140314141720.GI16360@bill-the-cat> References: <1394793212.13270.89.camel@hastur.hellion.org.uk> <1394793231-11922-5-git-send-email-ijc@hellion.org.uk> <20140314141720.GI16360@bill-the-cat> Message-ID: <1394976333.2234.1.camel@hastur.hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2014-03-14 at 10:17 -0400, Tom Rini wrote: > On Fri, Mar 14, 2014 at 10:33:47AM +0000, Ian Campbell wrote: > > +/* > > + * Size of malloc() pool > > + * 1MB = 0x100000, 0x100000 = 1024 * 1024 > > + */ > > +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20)) > > This is really really small, and precludes using UBI on NAND for > example. What is a suitable value? I see a lots of boards using 128kB or <1MB and only a handful using more. Tegra uses 4MB -- is that a reasonable value? Ian.