]> git.dujemihanovic.xyz Git - u-boot.git/commit
build: Drop CONFIG_SPL_BUILD guards in some cases
authorTom Rini <trini@konsulko.com>
Fri, 22 Dec 2017 03:13:22 +0000 (22:13 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 10 Jan 2018 13:05:52 +0000 (08:05 -0500)
commitec75fab302a8b2ddf291cc1b7219b0333cea1a4d
treee1e18c826f5c564d10674cc83b0919e465a3b5ce
parent2c33b0c7d8deca7e9a907365a59fcbcde531c70d
build: Drop CONFIG_SPL_BUILD guards in some cases

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 <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Chander Kashyap <k.chander@samsung.com>
Cc: Thomas Abraham <thomas.ab@samsung.com>
Cc: Vipin Kumar <vipin.kumar@st.com>
Cc: Wenyou Yang <wenyou.yang@microchip.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/arm1136/mx31/Makefile
arch/arm/cpu/arm1136/mx35/Makefile
arch/arm/cpu/arm926ejs/mx25/Makefile
arch/arm/cpu/arm926ejs/mx27/Makefile
arch/sandbox/lib/Makefile
board/atmel/common/Makefile
board/samsung/arndale/Makefile
board/samsung/espresso7420/Makefile
board/spear/spear600/Makefile