summaryrefslogtreecommitdiffstats
path: root/board/amcc
diff options
context:
space:
mode:
authorJohn Otken john@softadvances.com <john@softadvances.com>2007-03-08 09:39:48 -0600
committerStefan Roese <sr@denx.de>2007-03-08 22:49:22 +0100
commit8ce16f55c7b9752af3d8bed84521aec5337e2de1 (patch)
tree83eede4a70dfa9d030fd440217fa478db0e8c81d /board/amcc
parent650a330dd2539130c8c324791e2f9f75aed79d4e (diff)
downloadblackbird-obmc-uboot-8ce16f55c7b9752af3d8bed84521aec5337e2de1.tar.gz
blackbird-obmc-uboot-8ce16f55c7b9752af3d8bed84521aec5337e2de1.zip
ppc4xx: Clear Sequoia/Rainier security engine reset bits
Signed-off-by: John Otken john@softadvances.com <john@softadvances.com>
Diffstat (limited to 'board/amcc')
-rwxr-xr-x[-rw-r--r--]board/amcc/sequoia/sequoia.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/amcc/sequoia/sequoia.c b/board/amcc/sequoia/sequoia.c
index b2b82c7595..daaffe06d3 100644..100755
--- a/board/amcc/sequoia/sequoia.c
+++ b/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
OpenPOWER on IntegriCloud