diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-08-12 22:42:14 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:15 -0300 |
commit | a761c4288f79e26a5c96b806d7ce575d4e0bb691 (patch) | |
tree | f7883d618f4fb9fac53282f22f8677f95d5bb4e8 | |
parent | 5bfe096de99133b61d5c19c8fd6701c611e36d47 (diff) | |
download | meta-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.inc | 29 | ||||
-rw-r--r-- | conf/machine/include/qoriq-base.inc | 24 | ||||
-rw-r--r-- | conf/machine/include/qoriq-ppc.inc | 16 |
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 @@ | |||
1 | require conf/machine/include/soc-family.inc | 1 | require conf/machine/include/qoriq-base.inc |
2 | 2 | ||
3 | # Freescale BSP default providers | 3 | DEFAULTTUNE ?= "cortexa7hf-neon" |
4 | PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-ls1" | ||
5 | PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-ls1" | ||
6 | PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-ls1" | ||
7 | PREFERRED_PROVIDER_cryptodev_ls102xa = "cryptodev-qoriq" | ||
8 | PREFERRED_PROVIDER_cryptodev-module_ls102xa = "cryptodev-qoriq-module" | ||
9 | PREFERRED_PROVIDER_cryptodev-tests_ls102xa = "cryptodev-qoriq-tests" | ||
10 | PREFERRED_PROVIDER_openssl_ls102xa = "openssl-qoriq" | ||
11 | 4 | ||
12 | # Define the default image type | 5 | # providers of QorIQ ARM targets |
13 | IMAGE_CLASSES ?= "image_types_uboot" | 6 | PREFERRED_PROVIDER_u-boot ?= "u-boot-ls1" |
14 | KERNEL_IMAGETYPE ?= "uImage" | 7 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ls1" |
8 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ls1" | ||
15 | 9 | ||
16 | UBOOT_ENTRYPOINT_ls102xa = "0x80008000" | 10 | UBOOT_ENTRYPOINT = "0x80008000" |
17 | 11 | ||
18 | MACHINE_FEATURES = "pci ext2 ext3 serial" | 12 | MKUBIFS_ARGS ??= "-m 512 -e 15360 -c 3600" |
19 | MACHINE_EXTRA_RRECOMMENDS = "udev-extraconf" | 13 | UBINIZE_ARGS ??= "-m 512 -p 16KiB -s 512" |
20 | 14 | ||
21 | DEFAULTTUNE_ls102xa ?= "cortexa7hf-neon" | 15 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0 115200;ttyAMA0" |
16 | SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" | ||
17 | |||
18 | MACHINEOVERRIDES .= ":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 |
2 | require conf/machine/include/soc-family.inc | 2 | require conf/machine/include/soc-family.inc |
3 | 3 | ||
4 | # providers | 4 | # common providers of QorIQ targets |
5 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq" | ||
6 | PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq" | ||
7 | PREFERRED_PROVIDER_cryptodev = "cryptodev-qoriq" | 5 | PREFERRED_PROVIDER_cryptodev = "cryptodev-qoriq" |
8 | PREFERRED_PROVIDER_cryptodev-module = "cryptodev-qoriq-module" | 6 | PREFERRED_PROVIDER_cryptodev-module = "cryptodev-qoriq-module" |
9 | PREFERRED_PROVIDER_cryptodev-tests = "cryptodev-qoriq-tests" | 7 | PREFERRED_PROVIDER_cryptodev-tests = "cryptodev-qoriq-tests" |
10 | PREFERRED_PROVIDER_openssl = "openssl-qoriq" | 8 | PREFERRED_PROVIDER_openssl = "openssl-qoriq" |
11 | 9 | ||
12 | # versions | 10 | # Define the default image type |
13 | PREFERRED_VERSION_qemu = "2.2.0+fsl" | 11 | IMAGE_CLASSES ?= "image_types_uboot" |
14 | |||
15 | # settings | ||
16 | MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" | ||
17 | MACHINE_EXTRA_RRECOMMENDS += "udev-rules-qoriq kernel-modules" | ||
18 | MACHINEOVERRIDES .= ":qoriq-ppc" | ||
19 | |||
20 | IMAGE_CLASSES += "image_types_uboot" | ||
21 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
22 | |||
23 | KERNEL_IMAGETYPE ?= "uImage" | 12 | KERNEL_IMAGETYPE ?= "uImage" |
24 | 13 | ||
25 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" | 14 | MACHINE_FEATURES ?= "pci ext2 ext3 serial" |
26 | SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" | 15 | MACHINE_EXTRA_RRECOMMENDS ?= "udev-rules-qoriq" |
27 | 16 | ||
28 | USE_VT = "0" | 17 | EXTRA_IMAGEDEPENDS += "u-boot cst-native" |
29 | 18 | ||
19 | MACHINEOVERRIDES .= ":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 @@ | |||
1 | require conf/machine/include/qoriq-base.inc | ||
2 | |||
3 | # providers of QorIQ PPC targets | ||
4 | PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq" | ||
5 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-qoriq" | ||
6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq" | ||
7 | |||
8 | UBOOT_ENTRYPOINT = "0x80008000" | ||
9 | |||
10 | MKUBIFS_ARGS ??= "-m 512 -e 15360 -c 3600" | ||
11 | UBINIZE_ARGS ??= "-m 512 -p 16KiB -s 512" | ||
12 | |||
13 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" | ||
14 | SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" | ||
15 | |||
16 | MACHINEOVERRIDES .= ":qoriq-ppc" | ||