From: Tom Hochstein Date: Mon, 18 Jan 2021 23:35:56 +0000 (-0600) Subject: imx6ullevk: Add OP-TEE, Broadcom WiFi, emmc, nand, and qspi1 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8f33954888eae17f62ab5bac7ae3186b78e806bf;p=meta-freescale.git imx6ullevk: Add OP-TEE, Broadcom WiFi, emmc, nand, and qspi1 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 missing UBOOT_CONFIG options emmc, nand, and qspi1. Drop redundant SERIAL_CONSOLES assignment. Signed-off-by: Tom Hochstein --- diff --git a/conf/machine/imx6ullevk.conf b/conf/machine/imx6ullevk.conf index bcaeede7..7d5f62d1 100644 --- a/conf/machine/imx6ullevk.conf +++ b/conf/machine/imx6ullevk.conf @@ -9,6 +9,8 @@ MACHINEOVERRIDES =. "mx6:mx6ull:" include conf/machine/include/imx-base.inc include conf/machine/include/tune-cortexa7.inc +MACHINE_FEATURES += "wifi bluetooth bcm4339 bcm43455" + KERNEL_DEVICETREE = " \ imx6ull-14x14-evk.dtb \ " @@ -20,10 +22,15 @@ KERNEL_DEVICETREE_append_use-nxp-bsp = " \ imx6ull-14x14-evk-gpmi-weim.dtb \ " -UBOOT_CONFIG ??= "sd" -UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard" -UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config" - -SERIAL_CONSOLES = "115200;ttymxc0" +UBOOT_CONFIG ??= " \ + sd \ + ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ +" +UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard" +UBOOT_CONFIG[sd-optee] = "mx6ull_14x14_evk_optee_config,sdcard" +UBOOT_CONFIG[emmc] = "mx6ull_14x14_evk_emmc_config,sdcard" +UBOOT_CONFIG[nand] = "mx6ull_14x14_evk_nand_config,ubifs" +UBOOT_CONFIG[qspi1] = "mx6ull_14x14_evk_qspi1_config" +UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config" -MACHINE_FEATURES += "wifi bluetooth" +OPTEE_BIN_EXT = "6ullevk"