commit | 676f019cd89640013506fb1891081eded1658acd | [log] [tgz] |
---|---|---|
author | Kevin Hilman <khilman@linaro.org> | Tue Dec 09 15:03:58 2014 -0800 |
committer | Tom Rini <trini@ti.com> | Mon Dec 29 16:31:23 2014 -0500 |
tree | e118112606711d00384ec38e4e7f86aa4ce1358c | |
parent | d1a8ecd33ec4adf2846da345713efe1fc4bf2506 [diff] |
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>