Skip to content

Commit 835764d

Browse files
committed
rpmsg: glink: Move the common glink protocol implementation to glink_native.c
Move the common part of glink core protocol implementation to glink_native.c that can be shared with the smem based glink transport in the later patches. Acked-by: Arun Kumar Neelakantam <aneela@codeaurora.org> Signed-off-by: Sricharan R <sricharan@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
1 parent 6799c43 commit 835764d

File tree

5 files changed

+1064
-993
lines changed

5 files changed

+1064
-993
lines changed

drivers/rpmsg/Kconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ config RPMSG_CHAR
1313
in /dev. They make it possible for user-space programs to send and
1414
receive rpmsg packets.
1515

16+
config RPMSG_QCOM_GLINK_NATIVE
17+
tristate
18+
select RPMSG
19+
1620
config RPMSG_QCOM_GLINK_RPM
1721
tristate "Qualcomm RPM Glink driver"
18-
select RPMSG
22+
select RPMSG_QCOM_GLINK_NATIVE
1923
depends on HAS_IOMEM
2024
depends on MAILBOX
2125
help

drivers/rpmsg/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
obj-$(CONFIG_RPMSG) += rpmsg_core.o
22
obj-$(CONFIG_RPMSG_CHAR) += rpmsg_char.o
33
obj-$(CONFIG_RPMSG_QCOM_GLINK_RPM) += qcom_glink_rpm.o
4+
obj-$(CONFIG_RPMSG_QCOM_GLINK_NATIVE) += qcom_glink_native.o
45
obj-$(CONFIG_RPMSG_QCOM_SMD) += qcom_smd.o
56
obj-$(CONFIG_RPMSG_VIRTIO) += virtio_rpmsg_bus.o

0 commit comments

Comments
 (0)