[U-Boot] [PATCH 7/7] configs: Adds a defconfig for K2E High Security EVM

Andrew F. Davis afd at ti.com
Mon Aug 29 17:28:38 CEST 2016


On 08/26/2016 01:30 AM, Madan Srinivas wrote:
> From: Vitaly Andrianov <vitalya at ti.com>
> 
> Add a new defconfig file for the K2E High Security EVM.
> 
> This defconfig is the same as for the non-secure part, except for:
> 	CONFIG_TI_SECURE_DEVICE option set to 'y'
> 	CONFIG_FIT option set to 'y'
> 	CONFIG_FIT_IMAGE_POST_PROCESS option set to 'y'
> 
> Enables the platform-specific post-processing of FIT-extracted blobs such
> as Kernel, DTB, and initramfs on TI K2E high-security (HS) devices
> which will ultimately invokes TI proprietary secure functions
> that performs secure processing such as blob authentication and
> decryption.
> 
> Signed-off-by: Vitaly Andrianov <vitalya at ti.com>
> Signed-off-by: Madan Srinivas <madans at ti.com>
> ---
> 
>  configs/k2e_hs_evm_defconfig | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 44 insertions(+)
>  create mode 100644 configs/k2e_hs_evm_defconfig
> 
> diff --git a/configs/k2e_hs_evm_defconfig b/configs/k2e_hs_evm_defconfig
> new file mode 100644
> index 0000000..ec0542d
> --- /dev/null
> +++ b/configs/k2e_hs_evm_defconfig
> @@ -0,0 +1,44 @@
> +CONFIG_ARM=y
> +CONFIG_ARCH_KEYSTONE=y
> +CONFIG_TARGET_K2E_EVM=y
> +CONFIG_DM_SERIAL=y
> +CONFIG_DEFAULT_DEVICE_TREE="k2e-evm"
> +CONFIG_SPL=y
> +CONFIG_OF_BOARD_SETUP=y
> +CONFIG_HUSH_PARSER=y
> +CONFIG_SYS_PROMPT="K2E EVM # "
> +CONFIG_CMD_BOOTZ=y
> +# CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_ASKENV=y
> +# CONFIG_CMD_FLASH is not set
> +CONFIG_CMD_NAND=y
> +CONFIG_CMD_SF=y
> +CONFIG_CMD_SPI=y
> +CONFIG_CMD_I2C=y
> +CONFIG_CMD_USB=y
> +# CONFIG_CMD_SETEXPR is not set
> +CONFIG_CMD_DHCP=y
> +CONFIG_CMD_MII=y
> +CONFIG_CMD_PING=y
> +CONFIG_CMD_EXT2=y
> +CONFIG_CMD_EXT4=y
> +CONFIG_CMD_EXT4_WRITE=y
> +CONFIG_CMD_FAT=y
> +CONFIG_CMD_FS_GENERIC=y
> +CONFIG_OF_CONTROL=y
> +CONFIG_DM=y
> +CONFIG_TI_AEMIF=y
> +CONFIG_DM_SPI=y
> +CONFIG_DM_SPI_FLASH=y
> +CONFIG_SPI_FLASH=y
> +CONFIG_SPI_FLASH_STMICRO=y
> +CONFIG_DM_ETH=y
> +CONFIG_SYS_NS16550=y
> +CONFIG_USB=y
> +CONFIG_USB_XHCI_HCD=y
> +CONFIG_USB_XHCI_DWC3=y
> +CONFIG_LIB_RAND=y
> +CONFIG_NET_RANDOM_ETHADDR=y
> +CONFIG_TI_SECURE_DEVICE=y
> +CONFIG_FIT=y
> +CONFIG_FIT_IMAGE_POST_PROCESS=y
> 

Although it makes it more clear when adding new options to add them to
the end, when someone regenerates this defconfig with savedefconfig or
similar tools, these options will get moved up into their natural order,
causing more delta to their patches than necessary. This should be
regenerated (make k2e_hs_evm_defconfig; make savedefconfig; cp defconfig
configs/k2e_hs_evm_defconfig).


More information about the U-Boot mailing list