[PATCH] powerpc, 460gt: Add 460gt as compatible in the check for 460ex-compatible crypto

Mike Williams mike at mikebwilliams.com
Thu Jun 23 05:30:51 EST 2011


Signed-off-by: Mike Williams <mike at mikebwilliams.com>
---
 drivers/crypto/amcc/crypto4xx_core.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c
index 1891252..4895be5 100644
--- a/drivers/crypto/amcc/crypto4xx_core.c
+++ b/drivers/crypto/amcc/crypto4xx_core.c
@@ -1161,7 +1161,8 @@ static int __init crypto4xx_probe(struct platform_device *ofdev)
 	if (rc)
 		return -ENODEV;
 
-	if (of_find_compatible_node(NULL, NULL, "amcc,ppc460ex-crypto")) {
+	if (of_find_compatible_node(NULL, NULL, "amcc,ppc460ex-crypto") ||
+	    of_find_compatible_node(NULL, NULL, "amcc,ppc460gt-crypto")) {
 		mtdcri(SDR0, PPC460EX_SDR0_SRST,
 		       mfdcri(SDR0, PPC460EX_SDR0_SRST) | PPC460EX_CE_RESET);
 		mtdcri(SDR0, PPC460EX_SDR0_SRST,
-- 
1.7.3.4



More information about the Linuxppc-dev mailing list