From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/5] ARM: DRA7: Make FIT boot as default boot on HS devices
Date: Tue, 29 Nov 2016 11:58:01 +0530 [thread overview]
Message-ID: <20161129062804.8398-4-lokeshvutla@ti.com> (raw)
In-Reply-To: <20161129062804.8398-1-lokeshvutla@ti.com>
Verification has to be done before booting any images on HS devices. So
default the boot to FIT on HS devices.
Signed-off-by: Lokesh Vutla <lokeshvutla@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 6d352e6..f932ae9 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -530,6 +530,13 @@ int board_late_init(void)
set_board_info_env(name);
+ /*
+ * Default FIT boot on HS devices. Non FIT images are not allowed
+ * on HS devices.
+ */
+ if (get_device_type() == HS_DEVICE)
+ setenv("boot_fit", "1");
+
omap_die_id_serial();
#endif
return 0;
--
2.10.1
next prev parent reply other threads:[~2016-11-29 6:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-29 6:27 [U-Boot] [PATCH 0/5] ti_armv7_common: env: Add support for loading FIT images Lokesh Vutla
2016-11-29 6:27 ` [U-Boot] [PATCH 1/5] ti_armv7_common: env: Consolidate support for loading images from mmc Lokesh Vutla
2016-11-29 18:03 ` Tom Rini
2016-12-04 0:45 ` [U-Boot] [U-Boot, " Tom Rini
2016-11-29 6:28 ` [U-Boot] [PATCH 2/5] ti_armv7_common: env: Add support for loading FIT images Lokesh Vutla
2016-11-29 18:03 ` Tom Rini
2016-12-04 0:45 ` [U-Boot] [U-Boot, " Tom Rini
2016-11-29 6:28 ` Lokesh Vutla [this message]
2016-11-29 18:04 ` [U-Boot] [PATCH 3/5] ARM: DRA7: Make FIT boot as default boot on HS devices Tom Rini
2016-12-04 0:46 ` [U-Boot] [U-Boot, " Tom Rini
2016-11-29 6:28 ` [U-Boot] [PATCH 4/5] ARM: AM57xx: " Lokesh Vutla
2016-11-29 18:04 ` Tom Rini
2016-12-04 0:47 ` [U-Boot] [U-Boot, " Tom Rini
2016-11-29 6:28 ` [U-Boot] [PATCH 5/5] ARM: AMx3xx: " Lokesh Vutla
2016-11-29 18:04 ` Tom Rini
2016-12-04 0:48 ` [U-Boot] [U-Boot, " Tom Rini
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=20161129062804.8398-4-lokeshvutla@ti.com \
--to=lokeshvutla@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.