diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-11-06 11:21:47 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-07 12:32:21 +0100 |
commit | 80bd1782c6a3aa8bf6e7ecf7a1153113e6a5b1ef (patch) | |
tree | 5905484a5160efe234e1f99d74272048baae594b /common | |
parent | 9efa1f8bdcc220be11bb94491b9fc706831a23a7 (diff) | |
download | barebox-80bd1782c6a3aa8bf6e7ecf7a1153113e6a5b1ef.tar.gz barebox-80bd1782c6a3aa8bf6e7ecf7a1153113e6a5b1ef.tar.xz |
ARM: psci: implement PSCI client driver
System reset on the STM32MP may be done via PSCI when running TF-A
as first-stage boot loader. Provide a PSCI driver to simplify using it:
- A psci_invoke function is exported, so other code can use it
- A fixup for the PSCI device tree node is registered
- A reset and poweroff handler via PSCI is registered for PSCI >= v0.2
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions