summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2021-05-11 18:01:08 +0800
committerNaveen Saini <naveen.kumar.saini@intel.com>2021-06-01 11:36:09 +0800
commitb8cd751b31e4fbe5adfd00956ba755234161b2eb (patch)
tree0130afe3c2a64b9ff655dacd837f381484a56980
parentf33c1c0ce089d12479138fbb85a05e7dc369b37b (diff)
downloadmeta-zephyr-b8cd751b31e4fbe5adfd00956ba755234161b2eb.tar.gz
meta-zephyr-b8cd751b31e4fbe5adfd00956ba755234161b2eb.tar.bz2
meta-zephyr-b8cd751b31e4fbe5adfd00956ba755234161b2eb.zip
intel-x86-64.conf: add common MACHINE for x86 (64-bit) BOARDS
User need to specify board value to ZEPHYR_BOARD in local.conf ZEPHYR_BOARD = "ehl_crb" By default it set to Elkhart Lake CRB 'ehl_crb' Currently 64-bit supported boards: * up_squared * ehl_crb_sbl * ehl_crb * acrn * acrn_ehl_crb Ref: https://docs.zephyrproject.org/latest/boards/x86/index.html Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r--conf/machine/include/tune-corei7-common.inc3
-rw-r--r--conf/machine/intel-x86-64.conf14
2 files changed, 17 insertions, 0 deletions
diff --git a/conf/machine/include/tune-corei7-common.inc b/conf/machine/include/tune-corei7-common.inc
index 7ad9516..509d190 100644
--- a/conf/machine/include/tune-corei7-common.inc
+++ b/conf/machine/include/tune-corei7-common.inc
@@ -1,3 +1,6 @@
DEFAULTTUNE ?= "corei7-64"
require conf/machine/include/tune-corei7.inc
require conf/machine/include/x86-base.inc
+
+# Add x86 to MACHINEOVERRIDE
+MACHINEOVERRIDES =. "x86:"
diff --git a/conf/machine/intel-x86-64.conf b/conf/machine/intel-x86-64.conf
new file mode 100644
index 0000000..2935cff
--- /dev/null
+++ b/conf/machine/intel-x86-64.conf
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: intel-x86-64
+#@DESCRIPTION: common MACHINE for 64-bit x86 boards. User must set ${ZEPHYR_BOARD}. By default is set to 'ech_crb' board.
+
+require conf/machine/include/tune-corei7-common.inc
+
+ARCH_intel-x86-64 = "x86"
+
+# Supported Boards:
+# ZEPHYR_BOARD ?= "acrn"
+# ZEPHYR_BOARD ?= "acrn_ehl_crb"
+# ZEPHYR_BOARD ?= "up_squared"
+# ZEPHYR_BOARD ?= "ehl_crb_sbl"
+ZEPHYR_BOARD ?= "ehl_crb"