mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-16 04:01:31 +00:00
trace: undefined reference to `trace_early_init'
Compiling with TRACE but without TRACE_EARLY results in an error aarch64-linux-gnu-ld.bfd: common/built-in.o:(.rodata.init_sequence_f+0x10): undefined reference to `trace_early_init' trace_early_init() should not be called if CONFIG_TRACE_EARLY is not defined. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
54e1223aa4
commit
7ef8e9b09a
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ static const init_fnc_t init_sequence_f[] = {
|
|||
#ifdef CONFIG_OF_CONTROL
|
||||
fdtdec_setup,
|
||||
#endif
|
||||
#ifdef CONFIG_TRACE
|
||||
#ifdef CONFIG_TRACE_EARLY
|
||||
trace_early_init,
|
||||
#endif
|
||||
initf_malloc,
|
||||
|
|
Loading…
Add table
Reference in a new issue