diff options
author | Luka Perkov <luka@openwrt.org> | 2014-02-27 22:41:39 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-02-27 22:41:39 +0000 |
commit | 6752d4cb08b734235bd7978424087514623696b0 (patch) | |
tree | c41b5bb1e83d6491e3f2fe8b2a60c269bd645262 /target/linux/imx6/config-3.13 | |
parent | 95c97bf201b863723f6335d70a66b543e40f7398 (diff) | |
download | mtk-20170518-6752d4cb08b734235bd7978424087514623696b0.zip mtk-20170518-6752d4cb08b734235bd7978424087514623696b0.tar.gz mtk-20170518-6752d4cb08b734235bd7978424087514623696b0.tar.bz2 |
imx6: enable FPU for hard float
The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which
in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration.
As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu
to the feature list. This will default the IMX6 target to use -mfloat-abi=hard
which will the be most efficient use of floating point.
When switching to hard float, we also need to enable VFP support in the kernel.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39759
Diffstat (limited to 'target/linux/imx6/config-3.13')
-rw-r--r-- | target/linux/imx6/config-3.13 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/imx6/config-3.13 b/target/linux/imx6/config-3.13 index 2506a0a..fc78c55 100644 --- a/target/linux/imx6/config-3.13 +++ b/target/linux/imx6/config-3.13 @@ -246,6 +246,7 @@ CONFIG_MUTEX_SPIN_ON_OWNER=y # CONFIG_MXC_IRQ_PRIOR is not set CONFIG_MXS_DMA=y CONFIG_NEED_DMA_MAP_STATE=y +CONFIG_NEON=y CONFIG_NET_FLOW_LIMIT=y CONFIG_NET_RX_BUSY_POLL=y CONFIG_NLS=y @@ -345,7 +346,8 @@ CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h" CONFIG_USB_SUPPORT=y CONFIG_USE_OF=y CONFIG_VECTORS_BASE=0xffff0000 -# CONFIG_VFP is not set +CONFIG_VFP=y +CONFIG_VFPv3=y CONFIG_VMSPLIT_2G=y # CONFIG_VMSPLIT_3G is not set # CONFIG_XEN is not set |