diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-11-29 11:58:03 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-03 13:21:09 -0500 |
commit | 5d4d436c6defdb17ac9766ed85a4a62e4b6a05b2 (patch) | |
tree | fb975384ea6cb596b12694034e8dde683ea93a9e /board/ti/am43xx/board.c | |
parent | 82cca5a6be35ad74fa7ee4f954803c8d499e9406 (diff) | |
download | u-boot-imx-5d4d436c6defdb17ac9766ed85a4a62e4b6a05b2.zip u-boot-imx-5d4d436c6defdb17ac9766ed85a4a62e4b6a05b2.tar.gz u-boot-imx-5d4d436c6defdb17ac9766ed85a4a62e4b6a05b2.tar.bz2 |
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/am43xx/board.c')
-rw-r--r-- | board/ti/am43xx/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index ba6f88f..390cc16 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -632,6 +632,13 @@ int board_late_init(void) { #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG set_board_info_env(NULL); + + /* + * 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 return 0; } |