OSDN Git Service

mailbox: imx: add xSR/xCR register array
authorPeng Fan <peng.fan@nxp.com>
Fri, 28 May 2021 10:06:02 +0000 (18:06 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 26 Jun 2021 16:39:51 +0000 (11:39 -0500)
commitf689a7cf75975680eb2993d7360dbe6dd7617e17
tree537c9bae626f3a331a9549c9adfd10561647a213
parent32f7443d4139208927bc9c3fda8e2a77ec24fe14
mailbox: imx: add xSR/xCR register array

We are going to add a new platform which has 4 status registers(SR, TSR,
RSR, GSR) and 4 control registers(CR, TCR, RCR, GCR), so extend xSR
and xCR to register array and adapt code to use it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/imx-mailbox.c