Commit d210718d9a184c5b00b7ee729e746ff8be5570bb
Committed by
Tom Rini
1 parent
4d013d8fa8
Exists in
v2017.01-smarct4x
and in
37 other branches
common/board_f.c: fix compile error when tracing disabled
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@chromium.org> Cc: Tom Rini <trini@ti.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
common/board_f.c