瀏覽代碼

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 年之前
父節點
當前提交
8ce16f55c7
共有 1 個文件被更改,包括 4 次插入0 次删除
  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