crypto: nx - add LE support to pSeries platform driver
Add support to the nx-842-pseries.c driver for running in little endian mode. The pSeries platform NX 842 driver currently only works as big endian. This adds cpu_to_be*() and be*_to_cpu() in the appropriate places to work in LE mode also. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
7793bda8fe
commit
c47d63020c
@@ -24,7 +24,7 @@ if CRYPTO_DEV_NX_COMPRESS
|
||||
|
||||
config CRYPTO_DEV_NX_COMPRESS_PSERIES
|
||||
tristate "Compression acceleration support on pSeries platform"
|
||||
depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
|
||||
depends on PPC_PSERIES && IBMVIO
|
||||
default y
|
||||
help
|
||||
Support for PowerPC Nest (NX) compression acceleration. This
|
||||
|
Reference in New Issue
Block a user