ea0375afa1
Support for different generations of the coprocessor requires that an abstraction layer be implemented for interacting with the hardware. This patch splits out version-specific functions to a separate file and populates the version structure (acting as a driver) with function pointers. Signed-off-by: Gary R Hook <gary.hook@amd.com> Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
10 lines
327 B
Makefile
10 lines
327 B
Makefile
obj-$(CONFIG_CRYPTO_DEV_CCP_DD) += ccp.o
|
|
ccp-objs := ccp-dev.o ccp-ops.o ccp-dev-v3.o ccp-platform.o
|
|
ccp-$(CONFIG_PCI) += ccp-pci.o
|
|
|
|
obj-$(CONFIG_CRYPTO_DEV_CCP_CRYPTO) += ccp-crypto.o
|
|
ccp-crypto-objs := ccp-crypto-main.o \
|
|
ccp-crypto-aes.o \
|
|
ccp-crypto-aes-cmac.o \
|
|
ccp-crypto-aes-xts.o \
|
|
ccp-crypto-sha.o
|