diff options
3 files changed, 12 insertions, 2 deletions
diff --git a/meta-amd-bsp/recipes-kernel/kmod/files/blacklist-ccp.conf b/meta-amd-bsp/recipes-kernel/kmod/files/blacklist-ccp.conf new file mode 100644 index 00000000..3389f0c7 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/kmod/files/blacklist-ccp.conf @@ -0,0 +1,2 @@ +blacklist ccp +blacklist ccp_crypto diff --git a/meta-amd-bsp/recipes-kernel/kmod/kmod_%.bbappend b/meta-amd-bsp/recipes-kernel/kmod/kmod_%.bbappend new file mode 100644 index 00000000..3ce16fe9 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/kmod/kmod_%.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI += "file://blacklist-ccp.conf" + +do_install_append_ethanolx () { + install -m755 ${WORKDIR}/blacklist-ccp.conf \ + ${D}${sysconfdir}/modprobe.d/blacklist-ccp.conf +} diff --git a/meta-amd-bsp/recipes-kernel/linux-5.10/linux-yocto-5.10.25-amdx86/amd-ccp.cfg b/meta-amd-bsp/recipes-kernel/linux-5.10/linux-yocto-5.10.25-amdx86/amd-ccp.cfg index cc9d9e10..109cda5c 100644 --- a/meta-amd-bsp/recipes-kernel/linux-5.10/linux-yocto-5.10.25-amdx86/amd-ccp.cfg +++ b/meta-amd-bsp/recipes-kernel/linux-5.10/linux-yocto-5.10.25-amdx86/amd-ccp.cfg @@ -21,7 +21,7 @@ CONFIG_HSU_DMA=y # CONFIG_ASYNC_TX_DMA is not set # CONFIG_DMATEST is not set CONFIG_CRYPTO_DEV_CCP=y -CONFIG_CRYPTO_DEV_CCP_DD=y -CONFIG_CRYPTO_DEV_CCP_CRYPTO=y +CONFIG_CRYPTO_DEV_CCP_DD=m +CONFIG_CRYPTO_DEV_CCP_CRYPTO=m CONFIG_CRYPTO_DEV_SP_CCP=y CONFIG_CRYPTO_DEV_SP_PSP=y |