From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 18 Dec 2017 15:03:18 -0500 Subject: [U-Boot] [PATCH 04/13] arm: keystone: Move cmd_ddr3 to a common place In-Reply-To: <20171218093425.12235-5-lokeshvutla@ti.com> References: <20171218093425.12235-1-lokeshvutla@ti.com> <20171218093425.12235-5-lokeshvutla@ti.com> Message-ID: <20171218200318.GH14220@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 Mon, Dec 18, 2017 at 03:04:16PM +0530, Lokesh Vutla wrote: > Move cmd_ddr3 to board/ti/common/ in order to make > it build for non-keystone TI platforms. > > Signed-off-by: Lokesh Vutla [snip] > diff --git a/board/ti/common/Makefile b/board/ti/common/Makefile > index 7170eac81e..66025040bc 100644 > --- a/board/ti/common/Makefile > +++ b/board/ti/common/Makefile > @@ -4,3 +4,6 @@ > # > > obj-${CONFIG_TI_I2C_BOARD_DETECT} += board_detect.o > +ifndef CONFIG_SPL_BUILD > +obj-${CONFIG_CMD_DDR3} += cmd_ddr3.o > +endif We shouldn't need games like that now to have all strings be discarded, now that we're mandating gcc-6 or later. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: