-
1d39806...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
zephyr: extend the wrapper for generic architecture support
When building SOF with Zephyr for unsupported architectures
the following additional adjustments to the wrapper are required:
1. define HEAP_RUNTIME_SIZE
2. implement stubs for interrupt handlich code
3. remove arch_timer_get_system() as it's provided by a header
4. hardcode "return 0;" for platform_timer_get()
5. disable sys_module_init() which anyway isn't yet functional
under Zephyr
6. add dummy platform_init() and platform_boot_complete()
7. add log_const_sof
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
02222f4...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
dma: add missing symbols for Zephyr builds
When building with Zephyr for unsupported architectures several DMA
symbols are missing. Add them to the respective platform header.
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
a652aad...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
trace: provide a dummy trace_point() implementation for CONFIG_LIBRARY
trace_point() is only used in platform code and in init/init.c. None of
those are build for ordinary CONFIG_LIBRARY builds. However, when built
under Zephyr, init.c is included in the build. therefore a dummy
implementation of trace_point() is needed.
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
28210fa...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
schedule: the cAVS timer requirement is only valid for Xtensa
The timer-domain driver requires the use of the cAVS timer driver,
but it only makes sense on Xtensa architectures.
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
f4b6a54...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
init: make secondary_core_init() available to all single-core configurations
If MULTICORE is disabled secondary_core_init() should be a dummy on
all architectures, not only on Xtensa. This change also makes
arch/init.h redundant, remove it.
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
fe66007...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-20
-
testbench: file.c calls free(), it must include stdlib.h
Add the missing stdlib.h include to file.c.
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
2c4d8e9...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
debug: explicitly include ipc/trace.h where panic() is called
ipc/trace.h contains definitions for all the SOF_IPC_PANIC_* macros,
it should be included explicitly everywhere, where those macros are
used.
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
7b1d540...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
xtensa: move register_exceptions() to init.c
register_exceptions() and exception() are only used in init.c, move
them there.
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
baf061d...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
debug: move arch_get_stack_*() functions to a separate header
arch_get_stack_*() functions are only used in panic.c. Move them to
a separate header to reduce dependencies.
Signed-off-by: Guennadi Liakhovetski <email address hidden>
-
a219b97...
by
Guennadi Liakhovetski <email address hidden>
on 2020-11-19
-
debug: move dump_stack() to panic.c
dump_stack() is only used in panic.c, move it there.
Signed-off-by: Guennadi Liakhovetski <email address hidden>