omap: mailbox: convert block api to kfifo
authorOhad Ben-Cohen <ohad@wizery.com>
Wed, 5 May 2010 15:33:09 +0000 (15:33 +0000)
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Wed, 4 Aug 2010 12:50:17 +0000 (15:50 +0300)
commitb5bebe410204cf84337b54c372cceda2d6b27de6
treeef64f9a9836c05d21c7e65d6d6429beb174956a6
parent01072d8f4b9911047ef435a807cfd7223c94d94d
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>
arch/arm/plat-omap/Kconfig
arch/arm/plat-omap/include/plat/mailbox.h
arch/arm/plat-omap/mailbox.c