Subject: [PATCH] crypto/nx: disable NX on little endian builds

From: Anton Blanchard <[email-masked]>
Date: Sat, 7 Jun 2014 11:33:34 +1000

The NX driver has endian issues so disable it for now.

Signed-off-by: Anton Blanchard <[email-masked]>
---

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 03ccdb0..8280a7a3 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -313,7 +313,7 @@ config CRYPTO_DEV_S5P
 
 config CRYPTO_DEV_NX
 	bool "Support for IBM Power7+ in-Nest cryptographic acceleration"
-	depends on PPC64 && IBMVIO
+	depends on PPC64 && IBMVIO && !CPU_LITTLE_ENDIAN
 	default n
 	help
 	  Support for Power7+ in-Nest cryptographic acceleration.