uniphier: revise SCP protocol handshake
authorDai Okamura <okamura.dai@socionext.com>
Thu, 4 Oct 2018 23:56:24 +0000 (08:56 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 30 Oct 2018 04:15:53 +0000 (13:15 +0900)
commite6a90288c39a5d3f145bc0b04cfd7b80a7305fe1
treecb381e150a872bd69b05bed94dd26ded765808bf
parent8be7850fd67b9eed258330155ce16ab13d02123c
uniphier: revise SCP protocol handshake

When the SoC issues a command IRQ to SCP, SCP sets STMTOBEIRQ as ACK.
The SoC must wait for it before issuing the next command.

This commit makes sure to meet the requirement.

Signed-off-by: Dai Okamura <okamura.dai@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
plat/socionext/uniphier/uniphier_scp.c