All of lore.kernel.org
 help / color / mirror / Atom feed
* [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm
@ 2019-11-20 11:13 Nikhil Devshatwar
  2019-11-21 18:16 ` Denys Dmytriyenko
  2019-11-29 10:03 ` Nikhil Devshatwar
  0 siblings, 2 replies; 4+ messages in thread
From: Nikhil Devshatwar @ 2019-11-20 11:13 UTC (permalink / raw)
  To: meta-arago; +Cc: grygorii.strashko, nsekhar

rpmsg_kdrv_switch kernel module is needed for the cpsw9g virtual net
driver. Since there is no symbol dependency, rpmsg_kdrv_switch
does not get loaded automatically.

Add branding file override for j7-evm to autoload this module.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
---
Fixes: LCPD-17113

 meta-arago-distro/conf/distro/include/branding-core.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-arago-distro/conf/distro/include/branding-core.inc b/meta-arago-distro/conf/distro/include/branding-core.inc
index cab9831..c70f8d1 100644
--- a/meta-arago-distro/conf/distro/include/branding-core.inc
+++ b/meta-arago-distro/conf/distro/include/branding-core.inc
@@ -11,3 +11,8 @@ ALTERNATIVE_PRIORITY_pn-opencl-monitor-ipu = "1"
 
 # Raise priority for sample IPC FW images
 ALTERNATIVE_PRIORITY_pn-ti-ipc-rtos = "15"
+
+# Autoload the kernel module
+KERNEL_MODULE_AUTOLOAD_EXTRAS = ""
+KERNEL_MODULE_AUTOLOAD_EXTRAS_j7-evm += "rpmsg_kdrv_switch"
+KERNEL_MODULE_AUTOLOAD += "${KERNEL_MODULE_AUTOLOAD_EXTRAS}"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-03  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-20 11:13 [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm Nikhil Devshatwar
2019-11-21 18:16 ` Denys Dmytriyenko
2019-12-03  1:22   ` Denys Dmytriyenko
2019-11-29 10:03 ` Nikhil Devshatwar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.