[U-Boot] [PATCH 2/2][v2] mpc85xx: configs - Add hash command in freescale 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 CC: York Sun yorksun@freescale.com --- Change log: v2: No change Fixed a typo in version number in the patch subject message. By mistake v3 was added instead of v2.
The patch series is dependent on https://patchwork.ozlabs.org/patch/387174/ https://patchwork.ozlabs.org/patch/387175/
include/configs/B4860QDS.h | 4 ++++ include/configs/BSC9131RDB.h | 4 ++++ include/configs/BSC9132QDS.h | 4 ++++ include/configs/C29XPCIE.h | 4 ++++ include/configs/P1010RDB.h | 4 ++++ include/configs/P2041RDB.h | 4 ++++ include/configs/T1040QDS.h | 4 ++++ include/configs/T104xRDB.h | 4 ++++ include/configs/T208xQDS.h | 4 ++++ include/configs/T208xRDB.h | 4 ++++ include/configs/T4240QDS.h | 4 ++++ include/configs/T4240RDB.h | 4 ++++ include/configs/corenet_ds.h | 4 ++++ 13 files changed, 52 insertions(+)
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h index 953d06b..58932ad 100644 --- a/include/configs/B4860QDS.h +++ b/include/configs/B4860QDS.h @@ -758,6 +758,10 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_CMD_NET #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * USB */ diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h index 56a3e94..fb50db0 100644 --- a/include/configs/BSC9131RDB.h +++ b/include/configs/BSC9131RDB.h @@ -382,6 +382,10 @@ extern unsigned long get_sdram_size(void); #define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + #define CONFIG_USB_EHCI
#ifdef CONFIG_USB_EHCI diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h index aeded6d..922ac00 100644 --- a/include/configs/BSC9132QDS.h +++ b/include/configs/BSC9132QDS.h @@ -598,6 +598,10 @@ combinations. this should be removed later #define CONFIG_DOS_PARTITION #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */ diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h index 715616d..ca1b2f5 100644 --- a/include/configs/C29XPCIE.h +++ b/include/configs/C29XPCIE.h @@ -506,6 +506,10 @@ #define CONFIG_CMD_SETEXPR #define CONFIG_CMD_REGINFO
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */ diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h index a373990..45ef53d 100644 --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h @@ -832,6 +832,10 @@ extern unsigned long get_sdram_size(void); #define CONFIG_DOS_PARTITION #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */ diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h index 16f7525..7ff2dd5 100644 --- a/include/configs/P2041RDB.h +++ b/include/configs/P2041RDB.h @@ -647,6 +647,10 @@ unsigned long get_board_sys_clk(unsigned long dummy); #define CONFIG_DOS_PARTITION #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */ diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h index a781ba3..5870a49 100644 --- a/include/configs/T1040QDS.h +++ b/include/configs/T1040QDS.h @@ -716,6 +716,10 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_CMD_NET #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */ diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h index 0ee0ff2..8e43931 100644 --- a/include/configs/T104xRDB.h +++ b/include/configs/T104xRDB.h @@ -727,6 +727,10 @@ #define CONFIG_CMD_NET #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */ diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index 395472b..9a8a3b6 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -777,6 +777,10 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_CMD_NET #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */ diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h index e5936c7..4ff31e6 100644 --- a/include/configs/T208xRDB.h +++ b/include/configs/T208xRDB.h @@ -736,6 +736,10 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_CMD_NET #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */ diff --git a/include/configs/T4240QDS.h b/include/configs/T4240QDS.h index ca97247..d2faf94 100644 --- a/include/configs/T4240QDS.h +++ b/include/configs/T4240QDS.h @@ -506,6 +506,10 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_PHY_GIGE /* Include GbE speed/duplex detection */ #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * USB */ diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index 183255d..b3fbbe3 100644 --- a/include/configs/T4240RDB.h +++ b/include/configs/T4240RDB.h @@ -668,6 +668,10 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_DOS_PARTITION #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + #define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */
#define __USB_PHY_TYPE utmi diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h index 12b3296..4fd290e 100644 --- a/include/configs/corenet_ds.h +++ b/include/configs/corenet_ds.h @@ -648,6 +648,10 @@ #define CONFIG_DOS_PARTITION #endif
+/* Hash command with SHA acceleration supported in hardware */ +#define CONFIG_CMD_HASH +#define CONFIG_SHA_HW_ACCEL + /* * Miscellaneous configurable options */
participants (1)
-
Ruchika Gupta