aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/Kconfig
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2010-05-05 11:33:09 -0400
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>2010-08-04 08:50:17 -0400
commitb5bebe410204cf84337b54c372cceda2d6b27de6 (patch)
treeef64f9a9836c05d21c7e65d6d6429beb174956a6 /arch/arm/plat-omap/Kconfig
parent01072d8f4b9911047ef435a807cfd7223c94d94d (diff)
omap: mailbox: convert block api to kfifo
The underlying buffering implementation of mailbox is converted from block API to kfifo due to the simplicity and speed of kfifo. The default size of the kfifo buffer is set to 256 bytes. This value is configurable at compile time (via CONFIG_OMAP_MBOX_KFIFO_SIZE), and can be changed at runtime (via the mbox_kfifo_size module parameter). Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Diffstat (limited to 'arch/arm/plat-omap/Kconfig')
-rw-r--r--arch/arm/plat-omap/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 78b49a626d06..111d39a47ad1 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -106,6 +106,15 @@ config OMAP_MBOX_FWK
106 Say Y here if you want to use OMAP Mailbox framework support for 106 Say Y here if you want to use OMAP Mailbox framework support for
107 DSP, IVA1.0 and IVA2 in OMAP1/2/3. 107 DSP, IVA1.0 and IVA2 in OMAP1/2/3.
108 108
109config OMAP_MBOX_KFIFO_SIZE
110 int "Mailbox kfifo default buffer size (bytes)"
111 depends on OMAP_MBOX_FWK
112 default 256
113 help
114 Specify the default size of mailbox's kfifo buffers (bytes).
115 This can also be changed at runtime (via the mbox_kfifo_size
116 module parameter).
117
109config OMAP_IOMMU 118config OMAP_IOMMU
110 tristate 119 tristate
111 120