Tegra: implement per-SoC validate_power_state() handler
The validate_power_state() handler checks the power_state for a valid afflvl
and state id. Although the afflvl check is common, the state ids are implementation
defined.

This patch moves the handler to the tegra/soc folder to allow each SoC to validate
the power_state for supported parameters.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent fb11a62 commit 93eafbcad46b83bb0db3b86b1508f08efce25519
@Varun Wadekar Varun Wadekar authored on 23 Jul 2015
Showing 3 changed files
View
plat/nvidia/tegra/common/tegra_pm.c
View
plat/nvidia/tegra/include/tegra_private.h
View
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c