LF-3779 remoteproc: imx_rproc: fix earlyboot detection
authorPeng Fan <peng.fan@nxp.com>
Fri, 14 May 2021 10:58:33 +0000 (18:58 +0800)
committerPeng Fan <peng.fan@nxp.com>
Fri, 14 May 2021 11:15:50 +0000 (19:15 +0800)
commit08680b128d388724755e849ef72bc5644268a44b
tree110d40f7102d2aae6f86e9776338c23ef4f99926
parentfdbd1ec2b636c28d36edb01e0548244b31e181da
LF-3779 remoteproc: imx_rproc: fix earlyboot detection

Here the earlyboot detection updated to use 0xB for the low four bits.
The previous detection not work, because with BIT0 set, BIT1 will
be automatically set, and BIT3 are also set by us.

So we detect BIT[3,1,0] here.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/remoteproc/imx_rproc.c