Mailbox: Restructure and simplify PCC mailbox code
authorAshwin Chaugule <ashwin.chaugule@linaro.org>
Tue, 27 Jan 2015 21:03:57 +0000 (16:03 -0500)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 4 Mar 2015 15:34:22 +0000 (21:04 +0530)
commit33350e6b1833b15cf9c9c4c84d8534ad68b0c7b8
tree2bb6b178c37a00ea8b1b03541aaf1ae7b0306efd
parenta6c5170d1edea97c538c81e377e56c7b5c5b7e63
Mailbox: Restructure and simplify PCC mailbox code

Previously the PCC driver depended on the client
side to map the communication space base address. This region
was was then used in the PCC driver and the client side.
The client side used this region to read and write its data
and the PCC driver used it to only write the PCC command.
Removing this split simplifies the PCC driver a lot. This patch
moves all communication region read/writes to the client side.
The PCC clients can now drive the PCC mailbox controller via the
mbox_client_txdone() method.

Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
drivers/mailbox/pcc.c
This page took 0.036479 seconds and 5 git commands to generate.