diff options
author | Alban Bedel <alban.bedel@aerq.com> | 2019-08-15 11:28:57 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-08-15 14:48:45 -0300 |
commit | 8788edcb649ef537a6c0972f302a1d00faefbee7 (patch) | |
tree | aec17642ea5c91908bb451e2d2e889d7430a8524 | |
parent | e5d9e48205cf3e40e6a627cb285b9da0094c66f1 (diff) | |
download | meta-freescale-8788edcb649ef537a6c0972f302a1d00faefbee7.tar.gz |
optee: Add optee as a machine feature to all supported boards
Currently we assume that all qoriq arm64 boards support optee, however
that might not be the case for boards added by other layers building
on top of meta-freescale. To better support this case add a machine
feature to indicate if a given machine has optee support.
Add the new optee feature to all qoriq arm64 except ls2080ardb as it
doesn't seems to be supported by optee.
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
-rw-r--r-- | conf/machine/ls1012afrwy.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1012ardb.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1021atwr.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1043ardb.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1046afrwy.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1046ardb.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1088ardb-pb.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls1088ardb.conf | 2 | ||||
-rw-r--r-- | conf/machine/ls2088ardb.conf | 2 | ||||
-rw-r--r-- | conf/machine/lx2160ardb.conf | 2 |
10 files changed, 20 insertions, 0 deletions
diff --git a/conf/machine/ls1012afrwy.conf b/conf/machine/ls1012afrwy.conf index 13b6138a2..449e518c6 100644 --- a/conf/machine/ls1012afrwy.conf +++ b/conf/machine/ls1012afrwy.conf | |||
@@ -10,6 +10,8 @@ MACHINEOVERRIDES =. "fsl-lsch2:ls1012a:" | |||
10 | require conf/machine/include/qoriq-arm64.inc | 10 | require conf/machine/include/qoriq-arm64.inc |
11 | require conf/machine/include/arm/arch-arm64.inc | 11 | require conf/machine/include/arm/arch-arm64.inc |
12 | 12 | ||
13 | MACHINE_FEATURES += "optee" | ||
14 | |||
13 | KERNEL_CLASSES = " kernel-fitimage " | 15 | KERNEL_CLASSES = " kernel-fitimage " |
14 | KERNEL_IMAGETYPES = "fitImage" | 16 | KERNEL_IMAGETYPES = "fitImage" |
15 | 17 | ||
diff --git a/conf/machine/ls1012ardb.conf b/conf/machine/ls1012ardb.conf index 85b01af64..6dbb1bda6 100644 --- a/conf/machine/ls1012ardb.conf +++ b/conf/machine/ls1012ardb.conf | |||
@@ -10,6 +10,8 @@ MACHINEOVERRIDES =. "fsl-lsch2:ls1012a:" | |||
10 | require conf/machine/include/qoriq-arm64.inc | 10 | require conf/machine/include/qoriq-arm64.inc |
11 | require conf/machine/include/arm/arch-arm64.inc | 11 | require conf/machine/include/arm/arch-arm64.inc |
12 | 12 | ||
13 | MACHINE_FEATURES += "optee" | ||
14 | |||
13 | KERNEL_CLASSES = " kernel-fitimage " | 15 | KERNEL_CLASSES = " kernel-fitimage " |
14 | KERNEL_IMAGETYPES = "fitImage" | 16 | KERNEL_IMAGETYPES = "fitImage" |
15 | 17 | ||
diff --git a/conf/machine/ls1021atwr.conf b/conf/machine/ls1021atwr.conf index a238fdca6..3ccb621c9 100644 --- a/conf/machine/ls1021atwr.conf +++ b/conf/machine/ls1021atwr.conf | |||
@@ -10,6 +10,8 @@ MACHINEOVERRIDES =. "ls102xa:" | |||
10 | require conf/machine/include/qoriq-arm.inc | 10 | require conf/machine/include/qoriq-arm.inc |
11 | require conf/machine/include/tune-cortexa7.inc | 11 | require conf/machine/include/tune-cortexa7.inc |
12 | 12 | ||
13 | MACHINE_FEATURES += "optee" | ||
14 | |||
13 | DEFAULTTUNE = "cortexa7hf-neon" | 15 | DEFAULTTUNE = "cortexa7hf-neon" |
14 | 16 | ||
15 | UBOOT_CONFIG ??= "sdcard-ifc-secure-boot sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor" | 17 | UBOOT_CONFIG ??= "sdcard-ifc-secure-boot sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor" |
diff --git a/conf/machine/ls1043ardb.conf b/conf/machine/ls1043ardb.conf index b00b98769..2edefa1ea 100644 --- a/conf/machine/ls1043ardb.conf +++ b/conf/machine/ls1043ardb.conf | |||
@@ -10,6 +10,8 @@ MACHINEOVERRIDES =. "fsl-lsch2:ls1043a:" | |||
10 | require conf/machine/include/qoriq-arm64.inc | 10 | require conf/machine/include/qoriq-arm64.inc |
11 | require conf/machine/include/arm/arch-arm64.inc | 11 | require conf/machine/include/arm/arch-arm64.inc |
12 | 12 | ||
13 | MACHINE_FEATURES += "optee" | ||
14 | |||
13 | KERNEL_CLASSES = " kernel-fitimage " | 15 | KERNEL_CLASSES = " kernel-fitimage " |
14 | KERNEL_IMAGETYPES = "fitImage" | 16 | KERNEL_IMAGETYPES = "fitImage" |
15 | 17 | ||
diff --git a/conf/machine/ls1046afrwy.conf b/conf/machine/ls1046afrwy.conf index ea97eae54..e685c1419 100644 --- a/conf/machine/ls1046afrwy.conf +++ b/conf/machine/ls1046afrwy.conf | |||
@@ -9,6 +9,8 @@ MACHINEOVERRIDES =. "fsl-lsch2:ls1046a:" | |||
9 | require conf/machine/include/qoriq-arm64.inc | 9 | require conf/machine/include/qoriq-arm64.inc |
10 | require conf/machine/include/arm/arch-arm64.inc | 10 | require conf/machine/include/arm/arch-arm64.inc |
11 | 11 | ||
12 | MACHINE_FEATURES += "optee" | ||
13 | |||
12 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES = " kernel-fitimage " |
13 | KERNEL_IMAGETYPES = "fitImage" | 15 | KERNEL_IMAGETYPES = "fitImage" |
14 | 16 | ||
diff --git a/conf/machine/ls1046ardb.conf b/conf/machine/ls1046ardb.conf index 748b17d0b..baf24c01c 100644 --- a/conf/machine/ls1046ardb.conf +++ b/conf/machine/ls1046ardb.conf | |||
@@ -9,6 +9,8 @@ MACHINEOVERRIDES =. "fsl-lsch2:ls1046a:" | |||
9 | require conf/machine/include/qoriq-arm64.inc | 9 | require conf/machine/include/qoriq-arm64.inc |
10 | require conf/machine/include/arm/arch-arm64.inc | 10 | require conf/machine/include/arm/arch-arm64.inc |
11 | 11 | ||
12 | MACHINE_FEATURES += "optee" | ||
13 | |||
12 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES = " kernel-fitimage " |
13 | KERNEL_IMAGETYPES = "fitImage" | 15 | KERNEL_IMAGETYPES = "fitImage" |
14 | 16 | ||
diff --git a/conf/machine/ls1088ardb-pb.conf b/conf/machine/ls1088ardb-pb.conf index 11fdf0db0..2e456f1b6 100644 --- a/conf/machine/ls1088ardb-pb.conf +++ b/conf/machine/ls1088ardb-pb.conf | |||
@@ -9,6 +9,8 @@ require conf/machine/include/arm/arch-arm64.inc | |||
9 | 9 | ||
10 | MACHINEOVERRIDES =. "fsl-lsch3:ls1088a:" | 10 | MACHINEOVERRIDES =. "fsl-lsch3:ls1088a:" |
11 | 11 | ||
12 | MACHINE_FEATURES += "optee" | ||
13 | |||
12 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES = " kernel-fitimage " |
13 | KERNEL_IMAGETYPES = "fitImage" | 15 | KERNEL_IMAGETYPES = "fitImage" |
14 | 16 | ||
diff --git a/conf/machine/ls1088ardb.conf b/conf/machine/ls1088ardb.conf index 0dc03086e..8f47f284e 100644 --- a/conf/machine/ls1088ardb.conf +++ b/conf/machine/ls1088ardb.conf | |||
@@ -9,6 +9,8 @@ require conf/machine/include/arm/arch-arm64.inc | |||
9 | 9 | ||
10 | MACHINEOVERRIDES =. "fsl-lsch3:ls1088a:" | 10 | MACHINEOVERRIDES =. "fsl-lsch3:ls1088a:" |
11 | 11 | ||
12 | MACHINE_FEATURES += "optee" | ||
13 | |||
12 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES = " kernel-fitimage " |
13 | KERNEL_IMAGETYPES = "fitImage" | 15 | KERNEL_IMAGETYPES = "fitImage" |
14 | 16 | ||
diff --git a/conf/machine/ls2088ardb.conf b/conf/machine/ls2088ardb.conf index 929094ea1..de9f279fa 100644 --- a/conf/machine/ls2088ardb.conf +++ b/conf/machine/ls2088ardb.conf | |||
@@ -9,6 +9,8 @@ require conf/machine/include/arm/arch-arm64.inc | |||
9 | 9 | ||
10 | MACHINEOVERRIDES =. "fsl-lsch3:ls2088a:" | 10 | MACHINEOVERRIDES =. "fsl-lsch3:ls2088a:" |
11 | 11 | ||
12 | MACHINE_FEATURES += "optee" | ||
13 | |||
12 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES = " kernel-fitimage " |
13 | KERNEL_IMAGETYPES = "fitImage" | 15 | KERNEL_IMAGETYPES = "fitImage" |
14 | 16 | ||
diff --git a/conf/machine/lx2160ardb.conf b/conf/machine/lx2160ardb.conf index 3300488fb..80d1e8ea1 100644 --- a/conf/machine/lx2160ardb.conf +++ b/conf/machine/lx2160ardb.conf | |||
@@ -9,6 +9,8 @@ require conf/machine/include/arm/arch-arm64.inc | |||
9 | 9 | ||
10 | MACHINEOVERRIDES =. "fsl-lsch3:lx2160a:" | 10 | MACHINEOVERRIDES =. "fsl-lsch3:lx2160a:" |
11 | 11 | ||
12 | MACHINE_FEATURES += "optee" | ||
13 | |||
12 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES = " kernel-fitimage " |
13 | KERNEL_IMAGETYPES = "fitImage" | 15 | KERNEL_IMAGETYPES = "fitImage" |
14 | 16 | ||