From 26223f02131089efa4c5d03ae5d0339144f29350 Mon Sep 17 00:00:00 2001 From: Paul Olaru Date: Thu, 4 Mar 2021 17:10:42 +0200 Subject: [PATCH] kconfig: imx: Disable HIFI3 optimized conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this kconfig option set to y SOF does not build on i.MX platforms, so we disable this optimized conversion. The warning below is treated as an error. sof/src/audio/pcm_converter/pcm_converter_hifi3.c: In function ‘pcm_convert_f_to_s16_lin’: sof/src/audio/pcm_converter/pcm_converter_hifi3.c:681: warning: implicit declaration of function ‘XT_ROUND_S’ Signed-off-by: Paul Olaru --- src/arch/xtensa/configs/imx8_defconfig | 1 + src/arch/xtensa/configs/imx8m_defconfig | 1 + src/arch/xtensa/configs/imx8x_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/src/arch/xtensa/configs/imx8_defconfig b/src/arch/xtensa/configs/imx8_defconfig index 3ada116d8..3998b44d4 100644 --- a/src/arch/xtensa/configs/imx8_defconfig +++ b/src/arch/xtensa/configs/imx8_defconfig @@ -1,2 +1,3 @@ CONFIG_IMX8=y CONFIG_HAVE_AGENT=n +CONFIG_FORMAT_CONVERT_HIFI3=n diff --git a/src/arch/xtensa/configs/imx8m_defconfig b/src/arch/xtensa/configs/imx8m_defconfig index 262202383..fb8e2f4e9 100644 --- a/src/arch/xtensa/configs/imx8m_defconfig +++ b/src/arch/xtensa/configs/imx8m_defconfig @@ -1,2 +1,3 @@ CONFIG_IMX8M=y CONFIG_HAVE_AGENT=n +CONFIG_FORMAT_CONVERT_HIFI3=n diff --git a/src/arch/xtensa/configs/imx8x_defconfig b/src/arch/xtensa/configs/imx8x_defconfig index 80e4608ce..f9a9e4956 100644 --- a/src/arch/xtensa/configs/imx8x_defconfig +++ b/src/arch/xtensa/configs/imx8x_defconfig @@ -1,2 +1,3 @@ CONFIG_IMX8X=y CONFIG_HAVE_AGENT=n +CONFIG_FORMAT_CONVERT_HIFI3=n