diff mbox series

[U-Boot,U-Boot,v2,2/2] defconfig: k2l_hs_evm: Add k2l_hs_evm_defconfig

Message ID 1520352610-36549-3-git-send-email-madans@ti.com
State Accepted
Commit f274f265668d43948f041f88e7b50b9639769d56
Delegated to: Tom Rini
Headers show
Series Adds support for secure boot on TCI6630K2L HS devices | expand

Commit Message

Madan Srinivas March 6, 2018, 4:10 p.m. UTC
Adds a dedicated defconfig to build TI K2L secure
devices and updates MAINTAINERS.

k2l_hs_evm_defconfig is created from the k2l_evm_defconfig
and removes support for SPL, as SPL is not supported on K2
HS devices. Corrects SYS_TEXT_BASE for HS devices.

Also adds TI_SECURE_DEVICE and FIT_IMAGE_POST_PROCESS to
include support for secure image creation and authentication

Signed-off-by: Madan Srinivas <madans@ti.com>

---

Changes in v2:
	- Updates MAINTAINERS with K2L HS

 MAINTAINERS                  |  1 +
 configs/k2l_hs_evm_defconfig | 43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 configs/k2l_hs_evm_defconfig

Comments

Tom Rini March 7, 2018, 2:27 p.m. UTC | #1
On Tue, Mar 06, 2018 at 11:10:10AM -0500, Madan Srinivas wrote:

> Adds a dedicated defconfig to build TI K2L secure
> devices and updates MAINTAINERS.
> 
> k2l_hs_evm_defconfig is created from the k2l_evm_defconfig
> and removes support for SPL, as SPL is not supported on K2
> HS devices. Corrects SYS_TEXT_BASE for HS devices.
> 
> Also adds TI_SECURE_DEVICE and FIT_IMAGE_POST_PROCESS to
> include support for secure image creation and authentication
> 
> Signed-off-by: Madan Srinivas <madans@ti.com>
> 

Reviewed-by: Tom Rini <trini@konsulko.com>
Andrew Davis March 7, 2018, 3:11 p.m. UTC | #2
On 03/06/2018 10:10 AM, Madan Srinivas wrote:
> Adds a dedicated defconfig to build TI K2L secure
> devices and updates MAINTAINERS.
> 
> k2l_hs_evm_defconfig is created from the k2l_evm_defconfig
> and removes support for SPL, as SPL is not supported on K2
> HS devices. Corrects SYS_TEXT_BASE for HS devices.
> 
> Also adds TI_SECURE_DEVICE and FIT_IMAGE_POST_PROCESS to
> include support for secure image creation and authentication
> 
> Signed-off-by: Madan Srinivas <madans@ti.com>
> 
> ---


Acked-by: Andrew F. Davis <afd@ti.com>


> 
> Changes in v2:
> 	- Updates MAINTAINERS with K2L HS
> 
>  MAINTAINERS                  |  1 +
>  configs/k2l_hs_evm_defconfig | 43 +++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 44 insertions(+)
>  create mode 100644 configs/k2l_hs_evm_defconfig
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index f42cb22..4f29b16 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -486,6 +486,7 @@ F:	configs/dra7xx_hs_evm_defconfig
>  F:	configs/k2hk_hs_evm_defconfig
>  F:	configs/k2e_hs_evm_defconfig
>  F:	configs/k2g_hs_evm_defconfig
> +F:	configs/k2l_hs_evm_defconfig
>  
>  TQ GROUP
>  #M:	Martin Krause <martin.krause@tq-systems.de>
> diff --git a/configs/k2l_hs_evm_defconfig b/configs/k2l_hs_evm_defconfig
> new file mode 100644
> index 0000000..cc002d3
> --- /dev/null
> +++ b/configs/k2l_hs_evm_defconfig
> @@ -0,0 +1,43 @@
> +CONFIG_ARM=y
> +CONFIG_ARCH_KEYSTONE=y
> +CONFIG_TI_SECURE_DEVICE=y
> +CONFIG_SYS_TEXT_BASE=0xC000060
> +CONFIG_TI_COMMON_CMD_OPTIONS=y
> +CONFIG_TARGET_K2L_EVM=y
> +CONFIG_DEFAULT_DEVICE_TREE="keystone-k2l-evm"
> +CONFIG_FIT_IMAGE_POST_PROCESS=y
> +CONFIG_OF_BOARD_SETUP=y
> +CONFIG_SYS_CONSOLE_INFO_QUIET=y
> +CONFIG_VERSION_VARIABLE=y
> +CONFIG_BOARD_EARLY_INIT_F=y
> +CONFIG_HUSH_PARSER=y
> +# CONFIG_CMD_FLASH is not set
> +# CONFIG_CMD_GPIO is not set
> +# CONFIG_CMD_GPT is not set
> +# CONFIG_CMD_MMC is not set
> +CONFIG_CMD_NAND=y
> +# CONFIG_CMD_SETEXPR is not set
> +CONFIG_MTDIDS_DEFAULT="nand0=davinci_nand.0"
> +CONFIG_MTDPARTS_DEFAULT="mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)"
> +CONFIG_CMD_UBI=y
> +CONFIG_ISO_PARTITION=y
> +CONFIG_EFI_PARTITION=y
> +CONFIG_OF_CONTROL=y
> +CONFIG_ENV_IS_IN_NAND=y
> +CONFIG_NET_RANDOM_ETHADDR=y
> +CONFIG_DM=y
> +CONFIG_TI_AEMIF=y
> +# CONFIG_MMC is not set
> +CONFIG_DM_SPI_FLASH=y
> +CONFIG_SPI_FLASH=y
> +CONFIG_SPI_FLASH_STMICRO=y
> +CONFIG_PHYLIB=y
> +CONFIG_DM_ETH=y
> +CONFIG_DM_SERIAL=y
> +CONFIG_SYS_NS16550=y
> +CONFIG_DM_SPI=y
> +CONFIG_DAVINCI_SPI=y
> +CONFIG_USB=y
> +CONFIG_USB_XHCI_HCD=y
> +CONFIG_USB_XHCI_DWC3=y
> +CONFIG_USB_STORAGE=y
>
Tom Rini March 16, 2018, 1:51 p.m. UTC | #3
On Tue, Mar 06, 2018 at 11:10:10AM -0500, Madan Srinivas wrote:

> Adds a dedicated defconfig to build TI K2L secure
> devices and updates MAINTAINERS.
> 
> k2l_hs_evm_defconfig is created from the k2l_evm_defconfig
> and removes support for SPL, as SPL is not supported on K2
> HS devices. Corrects SYS_TEXT_BASE for HS devices.
> 
> Also adds TI_SECURE_DEVICE and FIT_IMAGE_POST_PROCESS to
> include support for secure image creation and authentication
> 
> Signed-off-by: Madan Srinivas <madans@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> Acked-by: Andrew F. Davis <afd@ti.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index f42cb22..4f29b16 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -486,6 +486,7 @@  F:	configs/dra7xx_hs_evm_defconfig
 F:	configs/k2hk_hs_evm_defconfig
 F:	configs/k2e_hs_evm_defconfig
 F:	configs/k2g_hs_evm_defconfig
+F:	configs/k2l_hs_evm_defconfig
 
 TQ GROUP
 #M:	Martin Krause <martin.krause@tq-systems.de>
diff --git a/configs/k2l_hs_evm_defconfig b/configs/k2l_hs_evm_defconfig
new file mode 100644
index 0000000..cc002d3
--- /dev/null
+++ b/configs/k2l_hs_evm_defconfig
@@ -0,0 +1,43 @@ 
+CONFIG_ARM=y
+CONFIG_ARCH_KEYSTONE=y
+CONFIG_TI_SECURE_DEVICE=y
+CONFIG_SYS_TEXT_BASE=0xC000060
+CONFIG_TI_COMMON_CMD_OPTIONS=y
+CONFIG_TARGET_K2L_EVM=y
+CONFIG_DEFAULT_DEVICE_TREE="keystone-k2l-evm"
+CONFIG_FIT_IMAGE_POST_PROCESS=y
+CONFIG_OF_BOARD_SETUP=y
+CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_VERSION_VARIABLE=y
+CONFIG_BOARD_EARLY_INIT_F=y
+CONFIG_HUSH_PARSER=y
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_GPIO is not set
+# CONFIG_CMD_GPT is not set
+# CONFIG_CMD_MMC is not set
+CONFIG_CMD_NAND=y
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_MTDIDS_DEFAULT="nand0=davinci_nand.0"
+CONFIG_MTDPARTS_DEFAULT="mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)"
+CONFIG_CMD_UBI=y
+CONFIG_ISO_PARTITION=y
+CONFIG_EFI_PARTITION=y
+CONFIG_OF_CONTROL=y
+CONFIG_ENV_IS_IN_NAND=y
+CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_DM=y
+CONFIG_TI_AEMIF=y
+# CONFIG_MMC is not set
+CONFIG_DM_SPI_FLASH=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHYLIB=y
+CONFIG_DM_ETH=y
+CONFIG_DM_SERIAL=y
+CONFIG_SYS_NS16550=y
+CONFIG_DM_SPI=y
+CONFIG_DAVINCI_SPI=y
+CONFIG_USB=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_DWC3=y
+CONFIG_USB_STORAGE=y