a8k: Implement platform specific power off
Implements a way to add platform specific power off code to a
Marvell Armada 8K platform.

Marvell Armada 8K boards can now add a board/system_power.c file
that contains a system_power_off() function.
This function can now send a command to a power management MCU or
other board periferals before shutting the board down.

Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Change-Id: Iaba20bc2f603195679c54ad12c0c18962dd8e3db
---
I am working on a device that will be ported later, which has a
custom power management MCU that handles LEDs, board power and fans
and requires this separation.
1 parent 743600b commit 8c11ebfcdac0802119293f8c00912a54048ddd02
@Luka Kovacic Luka Kovacic authored on 13 Jan 2020
Showing 3 changed files
View
include/plat/marvell/a8k/common/armada_common.h
View
plat/marvell/a8k/common/a8k_common.mk
View
plat/marvell/a8k/common/plat_pm.c