Re: [PATCH 4/9] mailbox: create opened message type

2012-12-21 Thread Loic PALLARDY
On 12/21/2012 11:28 AM, Bedia, Vaibhav wrote: > On Tue, Dec 18, 2012 at 18:40:07, Loic Pallardy wrote: >> -msg = mbox_read_reg(fifo->data); >> -msg |= ((mbox_msg_t) mbox_read_reg(fifo->cmd))<< 16; >> +msg->header = mbox_read_reg(fifo->data); >> +msg->header |= ((mbox_msg_t) mbox

RE: [PATCH 4/9] mailbox: create opened message type

2012-12-21 Thread Bedia, Vaibhav
On Tue, Dec 18, 2012 at 18:40:07, Loic Pallardy wrote: > Current message type is a u32 to fit HW fifo format. > This should be extended to support any message exchanges > and type of mailbox. > Propose structure owns the original u32 and an optional > pointer on additional data. > > Signed-off-by:

[PATCH 4/9] mailbox: create opened message type

2012-12-18 Thread Loic Pallardy
Current message type is a u32 to fit HW fifo format. This should be extended to support any message exchanges and type of mailbox. Propose structure owns the original u32 and an optional pointer on additional data. Signed-off-by: Loic Pallardy --- drivers/mailbox/Kconfig | 9 ++ dri