aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2021-07-13 16:49:04 +0200
committerMichal Simek <michal.simek@xilinx.com>2021-07-26 09:18:45 +0200
commita9558b45a4ba3c4ceeb084532209eab553a2327e (patch)
tree4f479ff593dc5a9bcb2065fdb17618a4108b7a09
parentf1bc214b0024b8d9585d83a42999a40980728303 (diff)
downloadu-boot-a9558b45a4ba3c4ceeb084532209eab553a2327e.zip
u-boot-a9558b45a4ba3c4ceeb084532209eab553a2327e.tar.gz
u-boot-a9558b45a4ba3c4ceeb084532209eab553a2327e.tar.bz2
arm64: zynqmp: Enable reset and poweroff via sysreset framework
reset and poweroff are called via hooks in psci driver which is going around sysreset framework that's why enable sysreset drivers and do reset and poweroff via this framework. Using this flow will allow us to call SYSTEM_WARM_RESET based on psci 1.1 spec which can be calles with reset -w command. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--configs/xilinx_zynqmp_virt_defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
index 5f32ca4..bac1e18 100644
--- a/configs/xilinx_zynqmp_virt_defconfig
+++ b/configs/xilinx_zynqmp_virt_defconfig
@@ -157,6 +157,9 @@ CONFIG_ZYNQ_SERIAL=y
CONFIG_SPI=y
CONFIG_ZYNQ_SPI=y
CONFIG_ZYNQMP_GQSPI=y
+CONFIG_SYSRESET=y
+CONFIG_SYSRESET_CMD_POWEROFF=y
+CONFIG_SYSRESET_PSCI=y
CONFIG_TPM2_TIS_SPI=y
CONFIG_USB=y
CONFIG_USB_XHCI_HCD=y