diff options
author | Ruchika Gupta <ruchika.gupta@freescale.com> | 2014-10-15 11:39:06 +0530 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-10-16 14:17:32 -0700 |
commit | 4ba4a095da4f7d38270ee22cc1a1ce64fa47d009 (patch) | |
tree | c32f2a05517a9cdd335d1abd93bba716c84888f4 /include/configs | |
parent | 737537ef0c9622114cf1a48208abf048df1b2005 (diff) | |
download | u-boot-imx-4ba4a095da4f7d38270ee22cc1a1ce64fa47d009.zip u-boot-imx-4ba4a095da4f7d38270ee22cc1a1ce64fa47d009.tar.gz u-boot-imx-4ba4a095da4f7d38270ee22cc1a1ce64fa47d009.tar.bz2 |
ls102x: configs - Add hash command in freescale LS1 platforms
Hardware accelerated support for SHA-1 and SHA-256 has been added.
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 <ruchika.gupta@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/ls1021aqds.h | 7 | ||||
-rw-r--r-- | include/configs/ls1021atwr.h | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index bb47813..139583f 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -69,6 +69,7 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_SYS_HAS_SERDES +#define CONFIG_FSL_CAAM /* Enable CAAM */ /* * IFC Definitions */ @@ -388,4 +389,10 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_OF_BOARD_SETUP #define CONFIG_CMD_BOOTZ +#define CONFIG_MISC_INIT_R + +/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + #endif diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index 45b2272..ebe5dae 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -48,6 +48,8 @@ #define CONFIG_SYS_HAS_SERDES +#define CONFIG_FSL_CAAM /* Enable CAAM */ + /* * IFC Definitions */ @@ -288,4 +290,10 @@ #define CONFIG_OF_BOARD_SETUP #define CONFIG_CMD_BOOTZ +#define CONFIG_MISC_INIT_R + +/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + #endif |