From: Tom Rini Date: Mon, 29 Dec 2014 21:26:17 -0500 Subject: [U-Boot] common/board_f.c: fix compile error when tracing disabled In-Reply-To: <1418166238-21980-1-git-send-email-khilman@kernel.org> References: <1418166238-21980-1-git-send-email-khilman@kernel.org> Message-ID: <20141230022617.GL10826@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, Dec 09, 2014 at 03:03:58PM -0800, Kevin Hilman wrote: > From: Kevin Hilman > > When CONFIG_TRACE is disabled, linking fails with: > > common/built-in.o:(.data.init_sequence_f+0x8): undefined reference to `trace_early_init' > > To fix, wrap the call to trace_early_init() with #ifdef CONFIG_TRACE. > > Cc: Simon Glass > Cc: Tom Rini > Signed-off-by: Kevin Hilman Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: