From: Tom Rini Date: Wed, 10 Jan 2018 11:44:14 -0500 Subject: [U-Boot] [U-Boot, 2/3] build: Drop CONFIG_SPL_BUILD guards in some cases In-Reply-To: <1513912403-26775-2-git-send-email-trini@konsulko.com> References: <1513912403-26775-2-git-send-email-trini@konsulko.com> Message-ID: <20180110164414.GF2621@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 Thu, Dec 21, 2017 at 10:13:22PM -0500, Tom Rini wrote: > Given gcc-6.1 and later we can now safely have strings discarded when > the functions are unused. This lets us drop certain cases of not > building something so that we don't have the strings brought in when the > code was discarded. Simplify the code now by dropping guards we don't > need now. > > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Chander Kashyap > Cc: Thomas Abraham > Cc: Vipin Kumar > Cc: Wenyou Yang > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: