]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx6sllevk: Add OP-TEE and Broadcom WiFi, remove pci
authorTom Hochstein <tom.hochstein@nxp.com>
Thu, 3 Dec 2020 21:38:06 +0000 (15:38 -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.

Remove pci which is not supported by 6SLL EVK.

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

index 7981a457d37feee3ed08b999fcabfde60d2e2aaa..23724f5e5ba74e7720b339b811d63234f5a5b467 100644 (file)
@@ -11,14 +11,20 @@ include conf/machine/include/tune-cortexa9.inc
 
 KERNEL_DEVICETREE = "imx6sll-evk.dtb"
 
-UBOOT_CONFIG ??= "sd"
-UBOOT_CONFIG[sd] = "mx6sllevk_config,sdcard"
-UBOOT_CONFIG[epdc] = "mx6sllevk_epdc_config"
-UBOOT_CONFIG[mfgtool] = "mx6sllevk_config"
+UBOOT_CONFIG ??= " \
+    sd \
+    ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \
+"
+UBOOT_CONFIG[sd]       = "mx6sllevk_config,sdcard"
+UBOOT_CONFIG[sd-optee] = "mx6sllevk_optee_config,sdcard"
+UBOOT_CONFIG[epdc]     = "mx6sllevk_epdc_config"
+UBOOT_CONFIG[mfgtool]  = "mx6sllevk_config"
+
+OPTEE_BIN_EXT_imx6sllevk = "6sllevk"
 
 SERIAL_CONSOLES = "115200;ttymxc0"
 
-MACHINE_FEATURES += " pci wifi bluetooth"
+MACHINE_FEATURES += "wifi bluetooth bcm4339 bcm43455"
 
 # MESA DRI library
 XSERVER += "mesa-driver-swrast"