From: Tom Rini Date: Thu, 14 Mar 2013 11:42:49 -0400 Subject: [U-Boot] [PATCH 2/2] SPL: Fix build of CONFIG_SPL_NET_SUPPORT In-Reply-To: <1363105011-24891-2-git-send-email-trini@ti.com> References: <1363105011-24891-1-git-send-email-trini@ti.com> <1363105011-24891-2-git-send-email-trini@ti.com> Message-ID: <20130314154249.GW23324@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Mar 12, 2013 at 12:16:51PM -0400, Tom Rini wrote: > With CONFIG_SPL_NET_SUPPORT set we bring in most of the environment > related code. This in turn means that while we discard the callback > saftey checks in the environment, we had still needed their > __start/__end linker symbols. In most cases this had been working > because we generated u-boot.lst for the main U-Boot build prior to > creating u-boot-spl.lds. With a sufficiently large machine this is not > the case and exposed this latent bug which is that as of f8cfcf1 there > are no callback linker entries so not __start/__end symbol was > generated. > > As the environment is not user modifiable in this particular run-time > (for any variable that had a callback associated with it) we simply > provide an empty env_callback_init in SPL. > > Cc: Joe Hershberger > Cc: Scott Wood > Tested-by: Tom Rini (Ran with am335x_evm_usbspl build) > Signed-off-by: Tom Rini As this part is no longer needed with Albert's LG updates, I'm dropping 2/2. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: