From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Wed, 18 Feb 2015 13:44:22 +0000 Subject: [U-Boot] [PATCH v2 17/19] dm: Kconfig: Move CONFIG_SYS_MALLOC_F_LEN to Kconfig In-Reply-To: <1423197710-1568-18-git-send-email-sjg@chromium.org> References: <1423197710-1568-1-git-send-email-sjg@chromium.org> <1423197710-1568-18-git-send-email-sjg@chromium.org> Message-ID: <1424267062.22510.17.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Thu, 2015-02-05 at 21:41 -0700, Simon Glass wrote: > +config SYS_MALLOC_F > + bool "Enable malloc() pool before relocation" > + default 0x400 I'm wondering if default value here should be of type "bool" but not a hex value? Probably this is just a copy paste from the following SYS_MALLOC_F_LEN? > + help > + Before relocation memory is very limited on many platforms. Still, > + we can provide a small malloc() pool if needed. Driver model in > + particular needs this to operate, so that it can allocate the > + initial serial device and any others that are needed. > + > +config SYS_MALLOC_F_LEN > + hex "Size of malloc() pool before relocation" > + depends on SYS_MALLOC_F > + default 0x400 > + help > + Before relocation memory is very limited on many platforms. Still, > + we can provide a small malloc() pool if needed. Driver model in > + particular needs this to operate, so that it can allocate the > + initial serial device and any others that are needed. -Alexey