core: Add new helper get_secure_dt()

Add new helper to query device tree considered secure for device driver
usage.

First priority is given to embedded device tree if present.

If system is configured with secure external device tree location then
external device tree is returned.

Change-Id: Iefa8980461e42701feda0544ab3ef3158cc188f1
Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/OP-TEE/optee_os/+/5282843
Tested-by: Jeffrey Kardatzke <jkardatzke@google.com>
Reviewed-by: Yi Chou <yich@google.com>
Commit-Queue: Jeffrey Kardatzke <jkardatzke@google.com>
2 files changed
tree: 29b9b40618440aace142d835e6c7b16d3033f433
  1. .github/
  2. core/
  3. keys/
  4. ldelf/
  5. lib/
  6. mk/
  7. scripts/
  8. ta/
  9. .checkpatch.conf
  10. .gitattributes
  11. .gitignore
  12. CHANGELOG.md
  13. DIR_METADATA
  14. LICENSE
  15. MAINTAINERS
  16. Makefile
  17. OWNERS
  18. README.md
  19. typedefs.checkpatch
README.md

OP-TEE Trusted OS

This git contains source code for the secure side implementation of OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io.

// OP-TEE core maintainers