rockchip: Allow socs with undefined wfe check bits
authorHeiko Stuebner <heiko@sntech.de>
Thu, 7 Mar 2019 07:01:37 +0000 (08:01 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 25 Apr 2019 11:37:56 +0000 (13:37 +0200)
commit3b5b888d1b33fe9978cea7131f0177cc5e8a4fbc
tree3300ce823c8595018e2249e5e18fda08efa79a69
parentc3aaabaf7e66e56323167d282fd6848b7ade8ae2
rockchip: Allow socs with undefined wfe check bits

Some older socs like the rk3288 do not have the necessary registers
to check the wfi/wfe state of the cpu cores. Allow this case an "just"
do an additional delay similar to how the Linux kernel handles smp
right now.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Change-Id: I0f67af388b06b8bfb4a9bac411b4900ac266a77a
plat/rockchip/common/drivers/pmu/pmu_com.h