summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2015-08-12 22:42:14 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:15 -0300
commita761c4288f79e26a5c96b806d7ce575d4e0bb691 (patch)
treef7883d618f4fb9fac53282f22f8677f95d5bb4e8
parent5bfe096de99133b61d5c19c8fd6701c611e36d47 (diff)
downloadmeta-freescale-a761c4288f79e26a5c96b806d7ce575d4e0bb691.tar.gz
Reorg the qoriq include files
* update qoriq-base.inc to ensure common bits of QorIQ ARM and QorIQ PPC are there * add qoriq-ppc.inc to manage the common bits of QorIQ PPC targets * update qoriq-arm.inc to ensure QorIQ ARM specific bits are there Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--conf/machine/include/qoriq-arm.inc29
-rw-r--r--conf/machine/include/qoriq-base.inc24
-rw-r--r--conf/machine/include/qoriq-ppc.inc16
3 files changed, 36 insertions, 33 deletions
diff --git a/conf/machine/include/qoriq-arm.inc b/conf/machine/include/qoriq-arm.inc
index f93a0b21..1ec8917a 100644
--- a/conf/machine/include/qoriq-arm.inc
+++ b/conf/machine/include/qoriq-arm.inc
@@ -1,21 +1,18 @@
1require conf/machine/include/soc-family.inc 1require conf/machine/include/qoriq-base.inc
2 2
3# Freescale BSP default providers 3DEFAULTTUNE ?= "cortexa7hf-neon"
4PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-ls1"
5PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-ls1"
6PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-ls1"
7PREFERRED_PROVIDER_cryptodev_ls102xa = "cryptodev-qoriq"
8PREFERRED_PROVIDER_cryptodev-module_ls102xa = "cryptodev-qoriq-module"
9PREFERRED_PROVIDER_cryptodev-tests_ls102xa = "cryptodev-qoriq-tests"
10PREFERRED_PROVIDER_openssl_ls102xa = "openssl-qoriq"
11 4
12# Define the default image type 5# providers of QorIQ ARM targets
13IMAGE_CLASSES ?= "image_types_uboot" 6PREFERRED_PROVIDER_u-boot ?= "u-boot-ls1"
14KERNEL_IMAGETYPE ?= "uImage" 7PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ls1"
8PREFERRED_PROVIDER_virtual/kernel ?= "linux-ls1"
15 9
16UBOOT_ENTRYPOINT_ls102xa = "0x80008000" 10UBOOT_ENTRYPOINT = "0x80008000"
17 11
18MACHINE_FEATURES = "pci ext2 ext3 serial" 12MKUBIFS_ARGS ??= "-m 512 -e 15360 -c 3600"
19MACHINE_EXTRA_RRECOMMENDS = "udev-extraconf" 13UBINIZE_ARGS ??= "-m 512 -p 16KiB -s 512"
20 14
21DEFAULTTUNE_ls102xa ?= "cortexa7hf-neon" 15SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0 115200;ttyAMA0"
16SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
17
18MACHINEOVERRIDES .= ":qoriq-arm"
diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index a89f4d51..d38238a4 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -1,29 +1,19 @@
1# Provides the QorIQ common settings 1# Provides the QorIQ common settings
2require conf/machine/include/soc-family.inc 2require conf/machine/include/soc-family.inc
3 3
4# providers 4# common providers of QorIQ targets
5PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
6PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
7PREFERRED_PROVIDER_cryptodev = "cryptodev-qoriq" 5PREFERRED_PROVIDER_cryptodev = "cryptodev-qoriq"
8PREFERRED_PROVIDER_cryptodev-module = "cryptodev-qoriq-module" 6PREFERRED_PROVIDER_cryptodev-module = "cryptodev-qoriq-module"
9PREFERRED_PROVIDER_cryptodev-tests = "cryptodev-qoriq-tests" 7PREFERRED_PROVIDER_cryptodev-tests = "cryptodev-qoriq-tests"
10PREFERRED_PROVIDER_openssl = "openssl-qoriq" 8PREFERRED_PROVIDER_openssl = "openssl-qoriq"
11 9
12# versions 10# Define the default image type
13PREFERRED_VERSION_qemu = "2.2.0+fsl" 11IMAGE_CLASSES ?= "image_types_uboot"
14
15# settings
16MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
17MACHINE_EXTRA_RRECOMMENDS += "udev-rules-qoriq kernel-modules"
18MACHINEOVERRIDES .= ":qoriq-ppc"
19
20IMAGE_CLASSES += "image_types_uboot"
21EXTRA_IMAGEDEPENDS += "u-boot"
22
23KERNEL_IMAGETYPE ?= "uImage" 12KERNEL_IMAGETYPE ?= "uImage"
24 13
25SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" 14MACHINE_FEATURES ?= "pci ext2 ext3 serial"
26SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" 15MACHINE_EXTRA_RRECOMMENDS ?= "udev-rules-qoriq"
27 16
28USE_VT = "0" 17EXTRA_IMAGEDEPENDS += "u-boot cst-native"
29 18
19MACHINEOVERRIDES .= ":qoriq"
diff --git a/conf/machine/include/qoriq-ppc.inc b/conf/machine/include/qoriq-ppc.inc
new file mode 100644
index 00000000..6b772102
--- /dev/null
+++ b/conf/machine/include/qoriq-ppc.inc
@@ -0,0 +1,16 @@
1require conf/machine/include/qoriq-base.inc
2
3# providers of QorIQ PPC targets
4PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
5PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-qoriq"
6PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
7
8UBOOT_ENTRYPOINT = "0x80008000"
9
10MKUBIFS_ARGS ??= "-m 512 -e 15360 -c 3600"
11UBINIZE_ARGS ??= "-m 512 -p 16KiB -s 512"
12
13SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
14SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
15
16MACHINEOVERRIDES .= ":qoriq-ppc"