From 346796f005e6dc88cb682d4105d0a88fb6e0f855 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Tue, 24 Dec 2024 22:07:53 +0100 Subject: [PATCH] enable psci-sysreset --- board/samsung/coreprimevelte/coreprimevelte.c | 2 ++ configs/coreprimevelte_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/board/samsung/coreprimevelte/coreprimevelte.c b/board/samsung/coreprimevelte/coreprimevelte.c index 8ee7007662..db66cf21a1 100644 --- a/board/samsung/coreprimevelte/coreprimevelte.c +++ b/board/samsung/coreprimevelte/coreprimevelte.c @@ -29,6 +29,8 @@ int dram_init(void) return 0; } +#ifndef CONFIG_SYSRESET void reset_cpu(void) { } +#endif diff --git a/configs/coreprimevelte_defconfig b/configs/coreprimevelte_defconfig index 7c2bdd9a57..7678e24886 100644 --- a/configs/coreprimevelte_defconfig +++ b/configs/coreprimevelte_defconfig @@ -28,5 +28,7 @@ CONFIG_CPU_ARMV8=y CONFIG_BAUDRATE=921600 CONFIG_SYS_NS16550=y CONFIG_SYS_NS16550_MEM32=y +CONFIG_SYSRESET=y +CONFIG_SYSRESET_PSCI=y CONFIG_MBEDTLS_LIB=y # CONFIG_TOOLS_MKEFICAPSULE is not set -- 2.39.5