mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 03:06:58 +07:00
03952d9801
Remove the common 'platform' registration module, and move the crypto compression driver registration into each of the pSeries and PowerNV platform NX 842 drivers. Change the nx-842.c code into simple common functions that each platform driver uses to perform constraints-based buffer changes, i.e. realigning and/or resizing buffers to match the driver's hardware requirements. The common 'platform' module was my mistake to create - since each platform driver will only load/operate when running on its own platform (i.e. a pSeries platform or a PowerNV platform), they can directly register with the crypto subsystem, using the same alg and driver name. This removes unneeded complexity. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 lines
532 B
Makefile
18 lines
532 B
Makefile
obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o
|
|
nx-crypto-objs := nx.o \
|
|
nx_debugfs.o \
|
|
nx-aes-cbc.o \
|
|
nx-aes-ecb.o \
|
|
nx-aes-gcm.o \
|
|
nx-aes-ccm.o \
|
|
nx-aes-ctr.o \
|
|
nx-aes-xcbc.o \
|
|
nx-sha256.o \
|
|
nx-sha512.o
|
|
|
|
obj-$(CONFIG_CRYPTO_DEV_NX_COMPRESS_PSERIES) += nx-compress-pseries.o nx-compress.o
|
|
obj-$(CONFIG_CRYPTO_DEV_NX_COMPRESS_POWERNV) += nx-compress-powernv.o nx-compress.o
|
|
nx-compress-objs := nx-842.o
|
|
nx-compress-pseries-objs := nx-842-pseries.o
|
|
nx-compress-powernv-objs := nx-842-powernv.o
|