On 15 December 2014 at 13:07, Kevin Hilman <[email protected]> wrote:
> From: Kevin Hilman <[email protected]>
>
> 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 suggested by Simon Glass, since it doesnt work.
>
> Cc: Simon Glass <[email protected]>
> Cc: Tom Rini <[email protected]>
> Signed-off-by: Kevin Hilman <[email protected]>
> ---
> Applies to v2015.01-rc3
>
> v3: Actually remove the static inlines this time. :/
>
>  common/board_f.c | 2 ++
>  include/trace.h  | 7 -------
>  2 files changed, 2 insertions(+), 7 deletions(-)

Acked-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to