[U-Boot] common/board_f.c: fix compile error when tracing disabled

Tom Rini trini at ti.com
Tue Dec 30 03:26:17 CET 2014


On Tue, Dec 09, 2014 at 03:03:58PM -0800, Kevin Hilman wrote:

> From: Kevin Hilman <khilman at linaro.org>
> 
> 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 <sjg at chromium.org>
> Cc: Tom Rini <trini at ti.com>
> Signed-off-by: Kevin Hilman <khilman at linaro.org>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20141229/2d01eaf8/attachment.pgp>


More information about the U-Boot mailing list