[meta-freescale] [meta-freescale-layer][PATCH 5/9] qoriq-arm64.inc: add

ting.liu at nxp.com ting.liu at nxp.com
Fri Jul 15 09:31:26 PDT 2016


From: Ting Liu <ting.liu at nxp.com>

move KERNEL_IMAGETYPE setting from qoriq-base.inc as qoriq-arm64
has a different value.

Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
---
 conf/machine/include/qoriq-arm.inc   |  2 ++
 conf/machine/include/qoriq-arm64.inc | 10 ++++++++++
 conf/machine/include/qoriq-base.inc  |  2 --
 conf/machine/include/qoriq-ppc.inc   |  2 ++
 4 files changed, 14 insertions(+), 2 deletions(-)
 create mode 100644 conf/machine/include/qoriq-arm64.inc

diff --git a/conf/machine/include/qoriq-arm.inc b/conf/machine/include/qoriq-arm.inc
index cc31492..eb03af4 100644
--- a/conf/machine/include/qoriq-arm.inc
+++ b/conf/machine/include/qoriq-arm.inc
@@ -1,5 +1,7 @@
 # Provides the common settings for QorIQ ARM
 
+KERNEL_IMAGETYPE ?= "uImage"
+
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0 115200;ttyAMA0"
 SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
 
diff --git a/conf/machine/include/qoriq-arm64.inc b/conf/machine/include/qoriq-arm64.inc
new file mode 100644
index 0000000..e8d99a6
--- /dev/null
+++ b/conf/machine/include/qoriq-arm64.inc
@@ -0,0 +1,10 @@
+# Provides the QorIQ common settings for ARM64
+
+KERNEL_IMAGETYPE ?= "Image"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+MACHINEOVERRIDES =. "qoriq-arm64:"
+
+require conf/machine/include/qoriq-base.inc
diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index c5cbe29..f65eea3 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -11,9 +11,7 @@ PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
 PREFERRED_PROVIDER_qemu = "qemu-qoriq"
 
-# Define the default image type
 IMAGE_CLASSES ?= "image_types_uboot"
-KERNEL_IMAGETYPE ?= "uImage"
 
 MACHINE_FEATURES ?= "pci ext2 ext3 serial"
 MACHINE_EXTRA_RRECOMMENDS ?= "udev-rules-qoriq"
diff --git a/conf/machine/include/qoriq-ppc.inc b/conf/machine/include/qoriq-ppc.inc
index 54ab6e3..b40e148 100644
--- a/conf/machine/include/qoriq-ppc.inc
+++ b/conf/machine/include/qoriq-ppc.inc
@@ -1,5 +1,7 @@
 # Provides the common settings for QorIQ PPC
 
+KERNEL_IMAGETYPE ?= "uImage"
+
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
 SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
 
-- 
1.9.2



More information about the meta-freescale mailing list