Browse Source

ppc4xx: Clear Sequoia/Rainier security engine reset bits

Signed-off-by: John Otken john@softadvances.com <john@softadvances.com>
John Otken john@softadvances.com 18 years ago
parent
commit
8ce16f55c7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      board/amcc/sequoia/sequoia.c

+ 4 - 0
board/amcc/sequoia/sequoia.c

@@ -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