diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-08-21 19:52:06 -0500 |
|---|---|---|
| committer | Tom Hochstein <tom.hochstein@nxp.com> | 2021-08-21 19:52:06 -0500 |
| commit | 52d3cd841b91d0285e34813ea4a8fe079432adfe (patch) | |
| tree | 5cf911d0a7e42c3790138de251a70bdac5daae44 | |
| parent | 4ebabc1936fd0d375541adc47be01878d00b5904 (diff) | |
| download | meta-freescale-52d3cd841b91d0285e34813ea4a8fe079432adfe.tar.gz | |
imx6qdlsabre*: Add support for optee
If optee is enabled via machine feature, use optee uboot config.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| -rw-r--r-- | conf/machine/imx6qdlsabreauto.conf | 3 | ||||
| -rw-r--r-- | conf/machine/imx6qdlsabresd.conf | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf index af8a98851..171b9f00d 100644 --- a/conf/machine/imx6qdlsabreauto.conf +++ b/conf/machine/imx6qdlsabreauto.conf | |||
| @@ -41,6 +41,7 @@ UBOOT_SUFFIX:pn-u-boot-fslc = "img" | |||
| 41 | SPL_BINARY:pn-u-boot-imx = "" | 41 | SPL_BINARY:pn-u-boot-imx = "" |
| 42 | UBOOT_CONFIG:pn-u-boot-imx ??= " \ | 42 | UBOOT_CONFIG:pn-u-boot-imx ??= " \ |
| 43 | sd-imx \ | 43 | sd-imx \ |
| 44 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee-imx', '', d)} \ | ||
| 44 | " | 45 | " |
| 45 | UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" | 46 | UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" |
| 46 | UBOOT_SUFFIX:pn-u-boot-imx = "imx" | 47 | UBOOT_SUFFIX:pn-u-boot-imx = "imx" |
| @@ -61,6 +62,8 @@ WKS_FILE = " \ | |||
| 61 | 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \ | 62 | 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \ |
| 62 | 'imx-uboot-bootpart.wks.in', d)}" | 63 | 'imx-uboot-bootpart.wks.in', d)}" |
| 63 | 64 | ||
| 65 | OPTEE_BIN_EXT = "6qpauto" | ||
| 66 | |||
| 64 | SERIAL_CONSOLES = "115200;ttymxc3" | 67 | SERIAL_CONSOLES = "115200;ttymxc3" |
| 65 | 68 | ||
| 66 | MACHINE_FIRMWARE:append:mx6 = " linux-firmware-ath6k" | 69 | MACHINE_FIRMWARE:append:mx6 = " linux-firmware-ath6k" |
diff --git a/conf/machine/imx6qdlsabresd.conf b/conf/machine/imx6qdlsabresd.conf index 1011b8774..a51336259 100644 --- a/conf/machine/imx6qdlsabresd.conf +++ b/conf/machine/imx6qdlsabresd.conf | |||
| @@ -50,6 +50,7 @@ UBOOT_SUFFIX:pn-u-boot-fslc = "img" | |||
| 50 | SPL_BINARY:pn-u-boot-imx = "" | 50 | SPL_BINARY:pn-u-boot-imx = "" |
| 51 | UBOOT_CONFIG:pn-u-boot-imx ??= " \ | 51 | UBOOT_CONFIG:pn-u-boot-imx ??= " \ |
| 52 | sd-imx \ | 52 | sd-imx \ |
| 53 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee-imx', '', d)} \ | ||
| 53 | " | 54 | " |
| 54 | UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" | 55 | UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" |
| 55 | UBOOT_SUFFIX:pn-u-boot-imx = "imx" | 56 | UBOOT_SUFFIX:pn-u-boot-imx = "imx" |
| @@ -67,6 +68,8 @@ WKS_FILE = " \ | |||
| 67 | 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \ | 68 | 'u-boot-fslc', 'imx-uboot-spl-bootpart.wks.in', \ |
| 68 | 'imx-uboot-bootpart.wks.in', d)}" | 69 | 'imx-uboot-bootpart.wks.in', d)}" |
| 69 | 70 | ||
| 71 | OPTEE_BIN_EXT = "6qsdb" | ||
| 72 | |||
| 70 | SERIAL_CONSOLES = "115200;ttymxc0" | 73 | SERIAL_CONSOLES = "115200;ttymxc0" |
| 71 | 74 | ||
| 72 | MACHINE_FIRMWARE:append:mx6 = " linux-firmware-ath6k" | 75 | MACHINE_FIRMWARE:append:mx6 = " linux-firmware-ath6k" |
