[U-Boot] [PATCH 06/10 v5] spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import

Scott Wood
2013-06-27T20:16:34Z

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