Patchwork [meta-fsl-arm,09/11] imx-base.inc: Set default tune of i.MX6 to use Hard Float-Point

login
register
mail settings
Submitter Otavio Salvador
Date Aug. 24, 2013, 5:44 p.m.
Message ID <1377366264-31014-10-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/56543/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Aug. 24, 2013, 5:44 p.m.
The default now is to use Hard Float-Point to every i.MX6 SoC but it
is very easy to change back to Soft Float-Point, if it is the case,
you can set:

,----[ Soft Float-Point setting ]
| DEFAULTTUNE_mx6 = "cortexa9-neon"
`----

In your local.conf or machine board file.

Change-Id: I8379dd95cbd0ab9b9ae61ffe8e173f8b0b7db9ae
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 conf/machine/include/imx-base.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 5d6243a..d8d0771 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -30,6 +30,9 @@  XSERVER = "xserver-xorg \
 # Ship kernel modules
 MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
 
+# Float-Point setting
+DEFAULTTUNE_mx6 ?= "cortexa9hf-neon"
+
 # Firmware
 MACHINE_FIRMWARE ?= ""
 MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q"