From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 27 Jun 2013 15:16:34 -0500 Subject: [U-Boot] [PATCH 06/10 v5] spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import In-Reply-To: <20130627121748.GW28078@bill-the-cat> (from trini@ti.com on Thu Jun 27 07:17:48 2013) Message-ID: <1372364194.8183.56@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/27/2013 07:17:48 AM, Tom Rini wrote: > On Thu, Jun 27, 2013 at 02:35:34AM +0000, Zhang Ying-B40530 wrote: > > > -----Original Message----- > > From: Tom Rini [mailto:tom.rini at gmail.com] On Behalf Of Tom Rini > [snip] > > Building for am335x_evm and am335x_evm_usbspl should tell you if it > is, > > or is not. Whacking network support into SPL required more than > > --gc-sections alone could give us and we needed to drop a few > > couldn't-ever-reach calls and functionality out. > > [Zhang Ying] > > Yes, I tried to build for am335x_evm without this ifdef, no problem. > > Whether it can be removed? > > Did you also build am335x_evm_usbspl? It builds OK for me with the ifdef removed. It adds 81 bytes to the SPL. -Scott