From df928ff49c23bb0f86be66f41fcc65b5bf506808 Mon Sep 17 00:00:00 2001 From: Udit Kumar Date: Fri, 23 Jun 2023 13:27:33 +0530 Subject: [PATCH] linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules * rpmsg_client_sample is a test module and should not be autoloaded * Both k3_r5 and k3_dsp remoteproc modules depend on virtio_rpmsg_bus Cc: Denys Dmytriyenko Cc: Ryan Eatmon Cc: Praneeth Bajjuri Cc: Apurva Nandan Cc: Hari Nagalla Signed-off-by: Udit Kumar Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb index 69f82e8c..d22cc4f8 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb @@ -36,3 +36,8 @@ KERNEL_GIT_PROTOCOL = "https" SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \ file://defconfig" +# Special configuration for remoteproc/rpmsg IPC modules +module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample" +module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus" +module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus" +KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"