From: Madan Srinivas <madans@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot PATCH 1/2] configs: k2l: Updates u-boot env to install secure boot monitor
Date: Fri, 16 Feb 2018 12:52:07 -0500 [thread overview]
Message-ID: <1518803528-61127-2-git-send-email-madans@ti.com> (raw)
In-Reply-To: <1518803528-61127-1-git-send-email-madans@ti.com>
This patch updates the default u-boot env for K2L HS devices
to install the secure boot monitor and load the fitImage during
boot.
Signed-off-by: Madan Srinivas <madans@ti.com>
---
include/configs/k2l_evm.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/include/configs/k2l_evm.h b/include/configs/k2l_evm.h
index d8bcbde..87639df 100644
--- a/include/configs/k2l_evm.h
+++ b/include/configs/k2l_evm.h
@@ -15,9 +15,18 @@
/* Platform type */
#define CONFIG_SOC_K2L
+#ifdef CONFIG_TI_SECURE_DEVICE
+#define DEFAULT_SEC_BOOT_ENV \
+ DEFAULT_FIT_TI_ARGS \
+ "findfdt=setenv fdtfile ${name_fdt}\0"
+#else
+#define DEFAULT_SEC_BOOT_ENV
+#endif
+
/* U-Boot general configuration */
#define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \
DEFAULT_FW_INITRAMFS_BOOT_ENV \
+ DEFAULT_SEC_BOOT_ENV \
"boot=ubi\0" \
"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \
"root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,4096\0" \
--
1.9.1
next prev parent reply other threads:[~2018-02-16 17:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 17:52 [U-Boot] [U-Boot PATCH 0/2] Adds support for secure boot on TCI6630K2L HS devices Madan Srinivas
2018-02-16 17:52 ` Madan Srinivas [this message]
2018-02-27 5:36 ` [U-Boot] [U-Boot PATCH 1/2] configs: k2l: Updates u-boot env to install secure boot monitor Lokesh Vutla
2018-02-16 17:52 ` [U-Boot] [U-Boot PATCH 2/2] defconfig: k2l_hs_evm: Add k2l_hs_evm_defconfig Madan Srinivas
2018-02-27 5:36 ` Lokesh Vutla
2018-02-28 1:09 ` Tom Rini
2018-02-19 15:14 ` [U-Boot] [U-Boot PATCH 0/2] Adds support for secure boot on TCI6630K2L HS devices Andrew F. Davis
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=1518803528-61127-2-git-send-email-madans@ti.com \
--to=madans@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