]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/k2hk_evm.h
configs: k2x_evm: Adds FIT loading environment variables
[people/ms/u-boot.git] / include / configs / k2hk_evm.h
index 78b901fb5826f0b06a66e0d5fa6adb18ff31bce3..dc0ac7d8bc84fcc885ec247f52a3d131efb9a36a 100644 (file)
 /* Platform type */
 #define CONFIG_SOC_K2HK
 
+#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"       \