diff options
author | Lokesh Vutla | 2016-11-29 11:58:03 +0530 |
---|---|---|
committer | Tom Rini | 2016-12-03 13:21:09 -0500 |
commit | 5d4d436c6defdb17ac9766ed85a4a62e4b6a05b2 (patch) | |
tree | fb975384ea6cb596b12694034e8dde683ea93a9e /board/ti/am335x/board.c | |
parent | 82cca5a6be35ad74fa7ee4f954803c8d499e9406 (diff) |
ARM: AMx3xx: Make FIT boot as default boot on HS devices
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>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/am335x/board.c')
-rw-r--r-- | board/ti/am335x/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index da9eab47bce..111ed3556cc 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -639,6 +639,13 @@ int board_late_init(void) if (board_is_bbg1()) name = "BBG1"; 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"); #endif #if !defined(CONFIG_SPL_BUILD) |