arch: arm: limit FP16 support to Cortex-A or Cortex-R FP16 isn't something that is supported on Cortex-M so limit the Kconfig feature to Cortex-A or Cortex-R. Signed-off-by: Kumar Gala <kumar.gala@intel.com>
diff --git a/arch/arm/core/aarch32/Kconfig b/arch/arm/core/aarch32/Kconfig index c0ccda5..d0468c0 100644 --- a/arch/arm/core/aarch32/Kconfig +++ b/arch/arm/core/aarch32/Kconfig
@@ -279,6 +279,7 @@ config FP16 bool "Half-precision floating point support" + depends on CPU_AARCH32_CORTEX_A || CPU_AARCH32_CORTEX_R default y help This option enables the half-precision (16-bit) floating point support