public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andrew F. Davis <afd@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] RFC: board: ti: dra7xx: add FIT image TEE processing
Date: Mon, 21 Nov 2016 14:14:47 -0600	[thread overview]
Message-ID: <20161121201447.814-4-afd@ti.com> (raw)
In-Reply-To: <20161121201447.814-1-afd@ti.com>

Populate the corresponding TEE image processing call to be
performed during FIT loadable processing.

Signed-off-by: Andrew F. Davis <afd@ti.com>
---
 board/ti/dra7xx/evm.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 3c16846..3bb895c 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -848,4 +848,11 @@ void board_fit_image_post_process(void **p_image, size_t *p_size)
 {
 	secure_boot_verify_image(p_image, p_size);
 }
+
+void board_tee_image_process(ulong tee_image, size_t tee_size)
+{
+	secure_tee_install((u32)tee_image);
+}
+
+U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_TEE, board_tee_image_process);
 #endif
-- 
2.10.2

  parent reply	other threads:[~2016-11-21 20:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21 20:14 [U-Boot] [PATCH 0/3] Add FIT loadable custom processing Andrew F. Davis
2016-11-21 20:14 ` [U-Boot] [PATCH 1/3] image: Add FIT image loadable section " Andrew F. Davis
2016-11-24  2:20   ` Simon Glass
2016-11-29 16:51     ` Andrew F. Davis
2016-11-21 20:14 ` [U-Boot] [PATCH 2/3] image: Add Trusted Execution Environment image type Andrew F. Davis
2016-11-24  2:20   ` Simon Glass
2016-11-21 20:14 ` Andrew F. Davis [this message]
2016-11-24  2:20   ` [U-Boot] [PATCH 3/3] RFC: board: ti: dra7xx: add FIT image TEE processing Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161121201447.814-4-afd@ti.com \
    --to=afd@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox