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

2014-12-16 Thread Simon Glass
On 15 December 2014 at 13:07, 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 trace init calls with #ifdef CONFIG_TRACE. > > While at it

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

2014-12-15 Thread Kevin Hilman
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 trace init calls with #ifdef CONFIG_TRACE. While at it, remove the static inline version of the init call from trace.h as