ppc4xx: Clear Sequoia/Rainier security engine reset bits
authorJohn Otken john@softadvances.com <john@softadvances.com>
Thu, 8 Mar 2007 15:39:48 +0000 (09:39 -0600)
committerStefan Roese <sr@denx.de>
Thu, 8 Mar 2007 21:49:22 +0000 (22:49 +0100)
Signed-off-by: John Otken john@softadvances.com <john@softadvances.com>
board/amcc/sequoia/sequoia.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index b2b82c7..daaffe0
@@ -336,6 +336,10 @@ int misc_init_r(void)
        }
 #endif /* CONFIG_440EPX */
 
+       mfsdr(SDR0_SRST1, reg);         /* enable security/kasumi engines */
+       reg &= ~(SDR0_SRST1_CRYP0 | SDR0_SRST1_KASU0);
+       mtsdr(SDR0_SRST1, reg);
+
        /*
         * Clear PLB4A0_ACR[WRP]
         * This fix will make the MAL burst disabling patch for the Linux