diff options
author | Andrew F. Davis <afd@ti.com> | 2017-07-17 12:59:12 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-26 11:26:50 -0400 |
commit | 881261c82ee188b7ab1efa8d55990febcea629a7 (patch) | |
tree | 4e8c6a97f49735363fe785df6a1f161d8f83cd62 /include/configs/k2e_evm.h | |
parent | f70a427268b633cf6c0bae093565d12f5eac6ae0 (diff) | |
download | u-boot-881261c82ee188b7ab1efa8d55990febcea629a7.tar.gz |
configs: k2x_evm: Adds FIT loading environment variables
Updates the default u-boot environment variables to support FIT image
loading.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/k2e_evm.h')
-rw-r--r-- | include/configs/k2e_evm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/k2e_evm.h b/include/configs/k2e_evm.h index 7e455498dc..a438a1a429 100644 --- a/include/configs/k2e_evm.h +++ b/include/configs/k2e_evm.h @@ -15,9 +15,18 @@ /* Platform type */ #define CONFIG_SOC_K2E +#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,2048\0" \ |