Introduce two new generic BSPs that parallel the updated core2 and new
corei7 tune files in oe-core. These BSPs provided optimized tune flags
for Intel Core and Atom CPUs since 2006 in the 32 bit core2 BSP and since
Nehalem and Silvermont (Bay Trail) in the 64 bit corei7 BSP.

These establish a suitable balance between compatibility and performance
optimization.

Signed-off-by: Darren Hart <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Paul Eggleton <[email protected]>
Cc: Tom Zanussi <[email protected]>
Cc: Nitin Kamble <[email protected]>
Cc: Mark Hatle <[email protected]>
Cc: Bruce Ashfield <[email protected]>
---
 conf/machine/include/intel-common-pkgarch.inc   |    4 ++++
 conf/machine/include/intel-core2-32-common.inc  |    8 ++++++++
 conf/machine/include/intel-corei7-64-common.inc |    8 ++++++++
 conf/machine/intel-core2-32.conf                |    8 ++++++++
 conf/machine/intel-corei7-64.conf               |    9 +++++++++
 5 files changed, 37 insertions(+)
 create mode 100644 conf/machine/include/intel-common-pkgarch.inc
 create mode 100644 conf/machine/include/intel-core2-32-common.inc
 create mode 100644 conf/machine/include/intel-corei7-64-common.inc
 create mode 100644 conf/machine/intel-core2-32.conf
 create mode 100644 conf/machine/intel-corei7-64.conf

diff --git a/conf/machine/include/intel-common-pkgarch.inc 
b/conf/machine/include/intel-common-pkgarch.inc
new file mode 100644
index 0000000..23e4297
--- /dev/null
+++ b/conf/machine/include/intel-common-pkgarch.inc
@@ -0,0 +1,4 @@
+INTEL_COMMON_PACKAGE_ARCH ?= "${TUNE_PKGARCH}-intel-common"
+PACKAGE_ARCH_pn-linux-yocto = "${INTEL_COMMON_PACKAGE_ARCH}"
+PACKAGE_ARCH_pn-linux-yocto-dev = "${INTEL_COMMON_PACKAGE_ARCH}"
+PACKAGE_EXTRA_ARCH_append = "${INTEL_COMMON_PACKAGE_ARCH}"
diff --git a/conf/machine/include/intel-core2-32-common.inc 
b/conf/machine/include/intel-core2-32-common.inc
new file mode 100644
index 0000000..16c12f6
--- /dev/null
+++ b/conf/machine/include/intel-core2-32-common.inc
@@ -0,0 +1,8 @@
+#
+# Common configuration for all MACHINEs of the intel-core2 type
+#
+
+DEFAULTTUNE ?= "core2-32"
+require intel-common-pkgarch.inc
+require conf/machine/include/tune-core2.inc
+require conf/machine/include/x86-base.inc
diff --git a/conf/machine/include/intel-corei7-64-common.inc 
b/conf/machine/include/intel-corei7-64-common.inc
new file mode 100644
index 0000000..935cd22
--- /dev/null
+++ b/conf/machine/include/intel-corei7-64-common.inc
@@ -0,0 +1,8 @@
+#
+# Common configuration for all MACHINES of the intel-corei7-64 type
+#
+
+DEFAULTTUNE ?= "corei7-64"
+require intel-common-pkgarch.inc
+require conf/machine/include/tune-corei7.inc
+require conf/machine/include/x86-base.inc
diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf
new file mode 100644
index 0000000..a702c809
--- /dev/null
+++ b/conf/machine/intel-core2-32.conf
@@ -0,0 +1,8 @@
+#@TYPE: Machine
+#@NAME: intel-core2-32
+
+#@DESCRIPTION: Machine configuration for 32 bit Intel Core 2 CPU (and later) 
with MMX, SSE, SSE2, SSE3, and SSSE3 instruction set support. Supports a 
moderately wide range of drivers that should boot and be usable on "typical" 
hardware.
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
+
+include conf/machine/include/intel-core2-32-common.inc
diff --git a/conf/machine/intel-corei7-64.conf 
b/conf/machine/intel-corei7-64.conf
new file mode 100644
index 0000000..abf3872
--- /dev/null
+++ b/conf/machine/intel-corei7-64.conf
@@ -0,0 +1,9 @@
+#@TYPE: Machine
+#@NAME: intel-corei7-64
+
+#@DESCRIPTION: Machine configuration for 64 bit Intel Core i7 CPU (and later) 
with MMX, SSE, SSE2, SSE3, and SSSE3 instruction set support. Supports a 
moderately wide range of drivers that should boot and be usable on "typical" 
hardware.
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
+
+# Should these be require?
+include conf/machine/include/intel-corei7-64-common.inc
-- 
1.7.9.5

_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to