arm-bsp/u-boot: corstone1000: enable PSCI reset
cover arm-bsp/u-boot: corstone1000: enable PSCI reset
From: Emekcan Aras <[email protected]>
Even though corstone1000 platform does not support the entire PSCI APIs, it relys on PSCI reset interface for system reset. The name of this config changed in the new version of u-boot. This enables PSCI reset, so the system can be resetted in u-boot again.
Emekcan Aras (1):
arm-bsp/u-boot: corstone1000: enable PSCI reset
.../0044-corstone1000-enable-psci-reset.patch | 30 +++++++++++++++++++ .../recipes-bsp/u-boot/u-boot_%.bbappend | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-corstone1000-enable-psci-reset.patch
Signature · 1 line
2.17.1
PATCH 1/1 arm-bsp/u-boot: corstone1000: enable PSCI reset
From: Emekcan Aras <[email protected]>
Even though corstone1000 platform does not support the entire PSCI APIs, it relys on PSCI reset interface for system reset. The name of this config changed in the new version of u-boot. This enables PSCI reset, so the system can be resetted in u-boot again.
--- .../0044-corstone1000-enable-psci-reset.patch | 30 +++++++++++++++++++ .../recipes-bsp/u-boot/u-boot_%.bbappend | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-corstone1000-enable-psci-reset.patch
meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0044-corstone1000-enable-psci-reset.patch new file +30 -0
@@ -0,0 +1,30 @@ +From fc1e331fd3ba5a75791b3841c8876f2e1fda8da9 Mon Sep 17 00:00:00 2001 +From: Emekcan Aras <[email protected]> +Date: Wed, 24 May 2023 09:12:11 +0100 +Subject: corstone1000: enable PSCI reset + +Even though corstone1000 does not implement entire PSCI APIs,it relies on +PSCI reset interface for the system reset. U-boot change the config name, so we +need to enable it again. + +Upstream-Status: Pending [Not submitted to upstream yet] +Signed-off-by: Emekcan Aras <[email protected]> +--- + configs/corstone1000_defconfig | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig +index b8d463f931..9f2ec97f0d 100644 +--- a/configs/corstone1000_defconfig ++++ b/configs/corstone1000_defconfig +@@ -63,6 +63,7 @@ CONFIG_DM_RTC=y + CONFIG_RTC_EMULATION=y + CONFIG_DM_SERIAL=y + CONFIG_SYSRESET=y ++CONFIG_SYSRESET_PSCI=y + CONFIG_USB=y + CONFIG_USB_ISP1760=y + CONFIG_ERRNO_STR=y +-- +2.17.1 +
meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend +1 -0
@@ -61,6 +61,7 @@ SRC_URI:append:corstone1000 = " \ file://0041-nvmxip-move-header-to-include.patch \ file://0042-corstone1000-set-kernel_addr-based-on-boot_idx.patch \ file://0043-corstone1000-boot-index-from-active.patch \ + file://0044-corstone1000-enable-psci-reset.patch \ " #
Signature · 1 line
2.17.1