Re: [U-Boot] [PATCH 2/2] mpc85xx: configs - Add hash command in freescale platforms

2014-09-28 Thread Ruchika Gupta
Hi York,

The patch caused size issues, because the change for uboot image size to 768 K 
was missing for this target. I have sent a patch which fixes this issue. 

https://patchwork.ozlabs.org/patch/394275/

Can you pick up this patch before the rest of the patches. That would resolve 
the size problems.

Regards,
Ruchika

 -Original Message-
 From: Sun York-R58495
 Sent: Thursday, September 25, 2014 9:01 PM
 To: Gupta Ruchika-R66431; u-boot@lists.denx.de
 Subject: Re: [PATCH 2/2] mpc85xx: configs - Add hash command in freescale
 platforms
 
 On 09/10/2014 08:58 PM, Ruchika Gupta wrote:
  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.gu...@freescale.com
  CC: York Sun york...@freescale.com
  ---
  The patch series is dependent on
  https://patchwork.ozlabs.org/patch/387174/
  https://patchwork.ozlabs.org/patch/387175/
 
 Ruchika,
 
 This patch further increases the size of image. This board failed to compile
 
 P1010RDB-PB_SPIFLASH_SECBOOT
 
 York

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 2/2] mpc85xx: configs - Add hash command in freescale platforms

2014-09-25 Thread York Sun
On 09/10/2014 08:58 PM, Ruchika Gupta wrote:
 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.gu...@freescale.com
 CC: York Sun york...@freescale.com
 ---
 The patch series is dependent on
 https://patchwork.ozlabs.org/patch/387174/
 https://patchwork.ozlabs.org/patch/387175/

Ruchika,

This patch further increases the size of image. This board failed to compile

P1010RDB-PB_SPIFLASH_SECBOOT

York

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/2] mpc85xx: configs - Add hash command in freescale platforms

2014-09-10 Thread Ruchika Gupta
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.gu...@freescale.com
CC: York Sun york...@freescale.com
---
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