]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xshm: Makefile and Kconfig for M7400 Shared Memory Drivers
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Wed, 7 Dec 2011 09:28:07 +0000 (10:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Dec 2011 12:20:19 +0000 (13:20 +0100)
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/Kconfig
drivers/Makefile
drivers/xshm/Kconfig [new file with mode: 0644]
drivers/xshm/Makefile [new file with mode: 0644]

index b5e6f243f7498b2e757f2ce503ed9d91f45e03d6..c91a13cc8c8f7384bcaa2511d57cc887ae51eef1 100644 (file)
@@ -136,4 +136,6 @@ source "drivers/hv/Kconfig"
 
 source "drivers/devfreq/Kconfig"
 
+source "drivers/xshm/Kconfig"
+
 endmenu
index 1b3142127bf5f7308f3e7fc9fb83ff88a4730f2e..eedd8e5d4af12ffc26789b6333bdcd12c416b926 100644 (file)
@@ -120,6 +120,7 @@ obj-$(CONFIG_VLYNQ)         += vlynq/
 obj-$(CONFIG_STAGING)          += staging/
 obj-y                          += platform/
 obj-y                          += ieee802154/
+obj-$(CONFIG_XSHM)             += xshm/
 #common clk code
 obj-y                          += clk/
 
diff --git a/drivers/xshm/Kconfig b/drivers/xshm/Kconfig
new file mode 100644 (file)
index 0000000..80daca4
--- /dev/null
@@ -0,0 +1,17 @@
+# XSHM gets selected by whoever wants it.
+config XSHM
+       depends on CONFIG_C2C
+       tristate
+
+config XSHM_CHR
+       tristate "Character device for External Shared Memory (XSHM)"
+       select XSHM
+       default n
+       ---help---
+       Say "Y" to use a character device for the External Shared
+       Memory (XSHM) IPC mechanism. XSHM is an IPC protocol used to
+       talk to external device such as modem over a shared memory
+       (e.g. Chip to Chip).
+       Only say "M" here if you want to test XSHM and need to load
+       and unload its module.
+       If unsure say N.
diff --git a/drivers/xshm/Makefile b/drivers/xshm/Makefile
new file mode 100644 (file)
index 0000000..954bd22
--- /dev/null
@@ -0,0 +1,3 @@
+obj-$(CONFIG_XSHM) += xshm.o
+xshm-objs := xshm_boot.o xshm_dev.o
+obj-$(CONFIG_XSHM_CHR) +=  xshm_chr.o