X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfigs%2Fk2e_evm.h;h=2c0e4cbe92fd2244ce759fd2fac0b8f09c613ce0;hb=c960ef29cd1bffccb84366cc6ca9c290cb3c36a0;hp=3a7993e8290c9135b73167064490a6e4073ad3c5;hpb=04735a8fc45ba7c9f5b17d4837a0c649087b29e1;p=u-boot diff --git a/include/configs/k2e_evm.h b/include/configs/k2e_evm.h index 3a7993e829..2c0e4cbe92 100644 --- a/include/configs/k2e_evm.h +++ b/include/configs/k2e_evm.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Configuration header file for TI's k2e-evm * * (C) Copyright 2012-2014 * Texas Instruments Incorporated, - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __CONFIG_K2E_EVM_H @@ -15,9 +14,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" \ @@ -27,6 +35,9 @@ "name_uboot=u-boot-spi-k2e-evm.gph\0" \ "name_fs=arago-console-image-k2e-evm.cpio.gz\0" +#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB */ +#define CONFIG_ENV_OFFSET 0x100000 + #include /* SPL SPI Loader Configuration */