summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2021-08-21 19:52:06 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2021-08-21 19:52:06 -0500
commit52d3cd841b91d0285e34813ea4a8fe079432adfe (patch)
tree5cf911d0a7e42c3790138de251a70bdac5daae44
parent4ebabc1936fd0d375541adc47be01878d00b5904 (diff)
downloadmeta-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.conf3
-rw-r--r--conf/machine/imx6qdlsabresd.conf3
2 files changed, 6 insertions, 0 deletions
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf
index af8a9885..171b9f00 100644
--- a/conf/machine/imx6qdlsabreauto.conf
+++ b/conf/machine/imx6qdlsabreauto.conf
@@ -41,6 +41,7 @@ UBOOT_SUFFIX:pn-u-boot-fslc = "img"
41SPL_BINARY:pn-u-boot-imx = "" 41SPL_BINARY:pn-u-boot-imx = ""
42UBOOT_CONFIG:pn-u-boot-imx ??= " \ 42UBOOT_CONFIG:pn-u-boot-imx ??= " \
43 sd-imx \ 43 sd-imx \
44 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee-imx', '', d)} \
44" 45"
45UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" 46UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx"
46UBOOT_SUFFIX:pn-u-boot-imx = "imx" 47UBOOT_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
65OPTEE_BIN_EXT = "6qpauto"
66
64SERIAL_CONSOLES = "115200;ttymxc3" 67SERIAL_CONSOLES = "115200;ttymxc3"
65 68
66MACHINE_FIRMWARE:append:mx6 = " linux-firmware-ath6k" 69MACHINE_FIRMWARE:append:mx6 = " linux-firmware-ath6k"
diff --git a/conf/machine/imx6qdlsabresd.conf b/conf/machine/imx6qdlsabresd.conf
index 1011b877..a5133625 100644
--- a/conf/machine/imx6qdlsabresd.conf
+++ b/conf/machine/imx6qdlsabresd.conf
@@ -50,6 +50,7 @@ UBOOT_SUFFIX:pn-u-boot-fslc = "img"
50SPL_BINARY:pn-u-boot-imx = "" 50SPL_BINARY:pn-u-boot-imx = ""
51UBOOT_CONFIG:pn-u-boot-imx ??= " \ 51UBOOT_CONFIG:pn-u-boot-imx ??= " \
52 sd-imx \ 52 sd-imx \
53 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee-imx', '', d)} \
53" 54"
54UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" 55UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx"
55UBOOT_SUFFIX:pn-u-boot-imx = "imx" 56UBOOT_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
71OPTEE_BIN_EXT = "6qsdb"
72
70SERIAL_CONSOLES = "115200;ttymxc0" 73SERIAL_CONSOLES = "115200;ttymxc0"
71 74
72MACHINE_FIRMWARE:append:mx6 = " linux-firmware-ath6k" 75MACHINE_FIRMWARE:append:mx6 = " linux-firmware-ath6k"