From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Fri, 27 Mar 2015 20:10:38 +0000 Subject: [U-Boot] [PATCH v3 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on In-Reply-To: References: <1426761779-14507-1-git-send-email-yamada.masahiro@socionext.com> <1426761779-14507-6-git-send-email-yamada.masahiro@socionext.com> Message-ID: <1427487037.2707.20.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 Hello Masahiro-san, On Mon, 2015-03-23 at 15:33 -0600, Simon Glass wrote: > On 19 March 2015 at 04:42, Masahiro Yamada > wrote: > > This option has a bool type, not hex. > > Fix it and enable it if CONFIG_DM is on because Driver Model always > > requires malloc memory. Devices are scanned twice, before/after > > relocation. CONFIG_SYS_MALLOC_F should be enabled to use malloc > > memory before relocation. As it is board-independent, handle it > > globally. > > > > Signed-off-by: Masahiro Yamada > > Acked-by: Stephen Warren > > --- > > > > Changes in v2: > > - Fix a typo s/not board-independent/board-independent/ > > Reviewed-by: Simon Glass I'm wondering if your series "Some improvements related to build system" is going to be applied to u-boot master branch anytime soon? I have pending update series for ARC where I'm enabling use of Device Model. For this I need to use SYS_MALLOC_F (is required by CONFIG_DM_SERIAL). So I'm interested in your patch " [PATCH v3 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on" in particular. Without it I'll need to add SYS_MALLOC_F in arch/arc/Kconfig. -Alexey