From: Sjur Brændeland Date: Wed, 7 Dec 2011 09:28:07 +0000 (+0100) Subject: xshm: Makefile and Kconfig for M7400 Shared Memory Drivers X-Git-Tag: next-20111208~3^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=33fe2b6a290a08003cdb239885c2e65cc7254888;p=karo-tx-linux.git xshm: Makefile and Kconfig for M7400 Shared Memory Drivers Signed-off-by: Sjur Brændeland Signed-off-by: Linus Walleij --- diff --git a/drivers/Kconfig b/drivers/Kconfig index b5e6f243f749..c91a13cc8c8f 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -136,4 +136,6 @@ source "drivers/hv/Kconfig" source "drivers/devfreq/Kconfig" +source "drivers/xshm/Kconfig" + endmenu diff --git a/drivers/Makefile b/drivers/Makefile index 1b3142127bf5..eedd8e5d4af1 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -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 index 000000000000..80daca4807c8 --- /dev/null +++ b/drivers/xshm/Kconfig @@ -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 index 000000000000..954bd22a4f6a --- /dev/null +++ b/drivers/xshm/Makefile @@ -0,0 +1,3 @@ +obj-$(CONFIG_XSHM) += xshm.o +xshm-objs := xshm_boot.o xshm_dev.o +obj-$(CONFIG_XSHM_CHR) += xshm_chr.o