summaryrefslogtreecommitdiff
path: root/plat/sun50iw1p1/plat_pm.c
AgeCommit message (Collapse)Author
2016-06-02sun50i: arisc: remove codeAndre Przywara
We no longer need and want the arisc, so remove all code that was associated with it. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2016-06-02PSCI: remove arisc from PSCI_SHUTDOWNAndre Przywara
The arisc can tell the PMIC to power down the SoC, but we are going to loose the arisc, so replace the arisc implementation for shutdown with a warning and a hang until we have the PMIC code in place. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2016-06-02PSCI: replace arisc call for PSCI_RESET with watchdog resetAndre Przywara
We cannot ask the arisc for help anymore, so let's program the watchdog to trigger a reset in the shortest possible time period to achieve a system reset if non-secure world requests it. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2016-06-02PSCI: rework sun50i CPU state management to avoid the ariscAndre Przywara
Rework the SMP secondary cores bringup and shutdown to not use the arisc blob. Instead let ATF do its job and enable/disable the power clamp and further registers. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2016-06-02sun50i: remove unneeded platform-specific GIC setupAndre Przywara
The Allwinner code defined a platform specific GIC setup. However we don't need secure IRQs or a special setup, so we can easily go with the default ARM GIC setup provided by the driver. Remove the unneeded code file, associated calls and code lines. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2016-02-04Merge in files from Allwinners lichee BSP tarballAndre Przywara
The Pine64 Wiki[1] links to a BSP tarball, among other things containing a dump of an ARM Trusted Firmware source tree with Allwinner changes on top. Since the tarball does not contain any version history information about the changes, this commit is just the diff between the ATF 1.0 release and the files from the Allwinner provided tarball. The executable flag from many source has been removed. [1] http://wiki.pine64.org/index.php/Pine_A64_Software_Release#Linux_BSP_Related