mirror of https://github.com/thesofproject/sof.git
src: enable hifi4 optimized src build with zephyr
Add src_hifi4.c to sources when building with zephyr. Signed-off-by: Krzysztof Frydryk <krzysztofx.frydryk@intel.com>
This commit is contained in:
parent
d25b64950e
commit
a6e936359c
|
@ -17,6 +17,11 @@
|
|||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* sof/math/numbers.h doesn't define MIN when used with zephyr */
|
||||
#ifdef __ZEPHYR__
|
||||
#include <zephyr/sys/util.h>
|
||||
#endif /* __ZEPHYR__ */
|
||||
|
||||
/* HiFi4 has
|
||||
* 16x 64 bit registers in register file AE_DR
|
||||
*/
|
||||
|
|
|
@ -707,6 +707,7 @@ zephyr_library_sources_ifdef(CONFIG_COMP_SRC
|
|||
${SOF_AUDIO_PATH}/src/src_hifi2ep.c
|
||||
${SOF_AUDIO_PATH}/src/src_generic.c
|
||||
${SOF_AUDIO_PATH}/src/src_hifi3.c
|
||||
${SOF_AUDIO_PATH}/src/src_hifi4.c
|
||||
${SOF_AUDIO_PATH}/src/src.c
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue