]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx7dsabresd: Add OP-TEE, Broadcom WiFi, nonsec, device trees, and XSERVER
authorTom Hochstein <tom.hochstein@nxp.com>
Thu, 3 Dec 2020 22:45:19 +0000 (16:45 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 21 Jan 2021 11:37:58 +0000 (08:37 -0300)
Add OP-TEE support. Add optee to MACHINE_FEATURES to enable OP-TEE
in u-boot-imx. OP-TEE is currently not supported by u-boot-fslc.

Enable Broadcom 4339 and 43455 WiFi modules.

Add non-secure boot configuration option.

Add device trees for PCIE EP and USD WiFi.

Add mesa-driver-swrast to XSERVER.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
conf/machine/imx7dsabresd.conf

index 84de3862ae0263f3b2d9a8b859fd16a0c38f8b54..a172aa49f24a9ef0cd3aaa99b06f0b29e0a193ea 100644 (file)
@@ -9,25 +9,34 @@ MACHINEOVERRIDES =. "mx7:mx7d:"
 require conf/machine/include/imx-base.inc
 require conf/machine/include/tune-cortexa7.inc
 
-MACHINE_FEATURES += " pci wifi bluetooth"
+MACHINE_FEATURES += "pci wifi bluetooth bcm4339 bcm43455"
 
-KERNEL_DEVICETREE = " \
-       imx7d-sdb.dtb \
+KERNEL_DEVICETREE = "imx7d-sdb.dtb"
+KERNEL_DEVICETREE_append_use-nxp-bsp = " \
        imx7d-sdb-epdc.dtb \
        imx7d-sdb-gpmi-weim.dtb \
        imx7d-sdb-m4.dtb \
        imx7d-sdb-mipi-dsi.dtb \
+       imx7d-sdb-pcie-ep.dtb \
        imx7d-sdb-qspi.dtb \
        imx7d-sdb-reva.dtb \
        imx7d-sdb-sht11.dtb \
+       imx7d-sdb-usd-wifi.dtb \
 "
 
-KERNEL_DEVICETREE_use-mainline-bsp = "imx7d-sdb.dtb"
 
-UBOOT_CONFIG ??= "sd"
-UBOOT_CONFIG[sd] = "mx7dsabresd_config,sdcard"
-UBOOT_CONFIG[qspi1] = "mx7dsabresd_qspi1_config"
-UBOOT_CONFIG[nand] = "mx7dsabresd_nand_config,ubifs"
-UBOOT_CONFIG[epdc] = "mx7dsabresd_epdc_config"
-UBOOT_CONFIG[mfgtool] = "mx7dsabresd_config"
+UBOOT_CONFIG ??= " \
+    sd \
+    ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \
+"
+UBOOT_CONFIG[sd]       = "mx7dsabresd_config,sdcard"
+UBOOT_CONFIG[sd-optee] = "mx7dsabresd_optee_config,sdcard"
+UBOOT_CONFIG[nonsec]   = "mx7dsabresd_nonsec_config,sdcard"
+UBOOT_CONFIG[qspi1]    = "mx7dsabresd_qspi1_config"
+UBOOT_CONFIG[nand]     = "mx7dsabresd_nand_config,ubifs"
+UBOOT_CONFIG[epdc]     = "mx7dsabresd_epdc_config"
+UBOOT_CONFIG[mfgtool]  = "mx7dsabresd_config"
+
+OPTEE_BIN_EXT = "7dsdb"
 
+XSERVER += "mesa-driver-swrast"