keystone2: add wfi in to the core_spin loop
authorVitaly Andrianov <vitalya@ti.com>
Wed, 8 Jul 2015 15:40:14 +0000 (11:40 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:01:57 +0000 (15:01 -0400)
commit17c5bda2a91cf902e0897bd8178f96aa5e3adf78
treec62277f1f728bd1d6c2d72c5ed36c66b6d07b79f
parentf5df36d0c80eafee94d14e33a01f0f693f041a3c
keystone2: add wfi in to the core_spin loop

When core A turning of core B, via tetris DPSC it places the core
B DPSC into transitional state. The core B has to execute wfi instruction
to move its DPSC to the OFF state. This patch add such instruction.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/cmd_mon.c