allwinner: Merge duplicate code in sunxi_power_down
The action of last resort isn't going to change between SoCs. This moves
that code back to the PSCI implementation, where it more obviously
matches the code in sunxi_system_reset().

The two error messages say essentially the same thing anyway.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: I62ac35fdb5ed78a016e9b18281416f1dcea38a4a
1 parent 4538c49 commit 818e67324bbe5fb74191182bd6bbafd1e1baab58
@Samuel Holland Samuel Holland authored on 20 Oct 2019
Showing 4 changed files
View
plat/allwinner/common/include/sunxi_private.h
View
plat/allwinner/common/sunxi_pm.c
View
plat/allwinner/sun50i_a64/sunxi_power.c
View
plat/allwinner/sun50i_h6/sunxi_power.c