Skip to content

mach-snapdragon: Enable OP-TEE support

Sumit Garg u-boot 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 8 repliesApplied
  2. v23 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Incorporated misc. comments on patch #2.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3tee: optee: Export OP-TEE message UID check APIdrivers/tee/optee/core.c include/tee/optee.h+14 -01 reply
2/3mach-snapdragon: of_fixup: Add OP-TEE DT fixup supportarch/arm/mach-snapdragon/of_fixup.c+35 -02 replies
3/3board/qualcomm: Introduce TF-A and OP-TEE config fragmentboard/qualcomm/tfa-optee.config+4 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchCasey Connolly
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] mach-snapdragon: Enable OP-TEE support

From: Sumit Garg <[email protected]>

Introduce TF-A and OP-TEE config fragment

Recently upstream TF-A/OP-TEE has started gaining support for Qcom platforms. RB3Gen2 being the first one and more to come. U-Boot in corresponding boot flow is packaged as a position independent executable.

So, lets add a generic U-Boot config fragment for Qcom platforms to support TF-A/OP-TEE based TrustZone stack. Build command:

$ ./scripts/kconfig/merge_config.sh \
       configs/qcom_defconfig \
       board/qualcomm/tfa-optee.config
$ make -j`nproc` DEVICE_TREE=qcom/qcs6490-rb3gen2

---
Changes in v3:
- Incorporated misc. comments on patch #2.

Changes in v2:
- Add new patch #1 to export OP-TEE message UID check API
- Use OP-TEE message UID check API in order to perform the DT fixup for OP-TEE.
- Switch from new defconfig to a config fragment instead.

Sumit Garg (3):
tee: optee: Export OP-TEE message UID check API
mach-snapdragon: of_fixup: Add OP-TEE DT fixup support board/qualcomm: Introduce TF-A and OP-TEE config fragment

 arch/arm/mach-snapdragon/of_fixup.c | 35 +++++++++++++++++++++++++++++
 board/qualcomm/tfa-optee.config     |  4 ++++
 drivers/tee/optee/core.c            |  5 +++++
 include/tee/optee.h                 |  9 ++++++++
 4 files changed, 53 insertions(+)
 create mode 100644 board/qualcomm/tfa-optee.config
Signature · 1 line
2.51.0