From 737537ef0c9622114cf1a48208abf048df1b2005 Mon Sep 17 00:00:00 2001 From: Ruchika Gupta Date: Wed, 15 Oct 2014 11:35:31 +0530 Subject: mpc85xx: configs - Add hash command in freescale platforms Enable CAAM in platforms supporting the hardware block. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta Reviewed-by: York Sun --- include/configs/T208xQDS.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/configs/T208xQDS.h') diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index 395472b..2268dd6 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -44,6 +44,7 @@ #define CONFIG_SYS_FSL_CPC /* Corenet Platform Cache */ #define CONFIG_SYS_NUM_CPC CONFIG_NUM_DDR_CONTROLLERS #define CONFIG_FSL_IFC /* Enable IFC Support */ +#define CONFIG_FSL_CAAM /* Enable SEC/CAAM */ #define CONFIG_FSL_LAW /* Use common FSL init code */ #define CONFIG_ENV_OVERWRITE @@ -777,6 +778,12 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_CMD_NET #endif +/* Hash command with SHA acceleration supported in hardware */ +#ifdef CONFIG_FSL_CAAM +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL +#endif + /* * Miscellaneous configurable options */ -- cgit v1.1 From 789490b6c0c56ed803555d2f9ecc7b35ae49a90c Mon Sep 17 00:00:00 2001 From: Ruchika Gupta Date: Tue, 7 Oct 2014 15:48:46 +0530 Subject: mpc85xx: configs - Enable blob command in freescale platforms Enable blob commands for platforms having SEC 4.0 or greater for secure boot scenarios Signed-off-by: Ruchika Gupta Reviewed-by: York Sun --- include/configs/T208xQDS.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/T208xQDS.h') diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index 2268dd6..2733358 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -916,6 +916,7 @@ unsigned long get_board_ddr_clk(void); #ifdef CONFIG_SECURE_BOOT #include +#define CONFIG_CMD_BLOB #undef CONFIG_CMD_USB #endif -- cgit v1.1