From patchwork Tue Jul 13 15:04:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1504686 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=iSS5h+Pl; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GPP7x6XtDz9sXL for ; Wed, 14 Jul 2021 01:05:17 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E88D982DC0; Tue, 13 Jul 2021 17:05:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="iSS5h+Pl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 14ED082DD2; Tue, 13 Jul 2021 17:05:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 18BDE82D95 for ; Tue, 13 Jul 2021 17:04:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wm1-x32a.google.com with SMTP id g8-20020a1c9d080000b02901f13dd1672aso1840885wme.0 for ; Tue, 13 Jul 2021 08:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BZ4x1xUsoK3LwHzSkb1/FzHR2RYNIoN5546VKlj2yIk=; b=iSS5h+Plsb4Bf/wVekCm4Mq+6+rWovuvpxLY/XKPbs6D8ZeneBvp7r/UBwvJ2at2EU p8kZCrS6iuEOFrZJGuABqYZpWldZFliZmw+U8j/K0zgLASN+roPtoPMU7p6t3Cj1Gy0y lbMQLJf/NTSTAaP/swEHkWTloCh7K3z8PAhyFa/fW8poeZOyU8RqlbBokd04Z3Utb0nc 4LP3g2ziUIvXTaatNX35rZB6Lq6/9q2NVZSvgpL9hslQo8y0TR3Dbt7fPcTsPrLknCsX lNbnzNFy/FpPRKryGTjWjZMTaZtmYkwHM1z9FI56w2TXxdz/nvfinF+24YApDwfiixiR LL7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=BZ4x1xUsoK3LwHzSkb1/FzHR2RYNIoN5546VKlj2yIk=; b=VUBNTryi09CEwFt5d8s4bT9sFr/fCtH8uS65BNhdoNWAQiUEUmMmbU8+k/aUyNJrMl Sxzp+y5cRaiOx3k+ONM1uTxv+U1vps4J1o/xf8aK3recrT3SnxeVz4kXN8Qsw6x+bn0j 9xWBS32gixhBIqwIaqLsR/34F/yy61sq/cDuNK7tHl0jjiPdX7mzKcgBMzshc4RvSgFf HnfWVYct+NPJSfB/SOQ4AqRPOGf/o8uhn5igBiSxdkZcTWgdwlU9YpRMdHncAA65hPkS NqCXRSS+8zkXCfmPdsSU1ZFetX0/ulkI8S/UDBQdcXciuopC4qf4KFrBuLiS+AAro6NH CiNw== X-Gm-Message-State: AOAM530itMXrqSHumzPGfhpu70ZHYXwGJqgsSfMzwU69sPXeyugij9sU RHfHhxxXA7WkrAVJkQlDuVq84B6pZuGHFrrY X-Google-Smtp-Source: ABdhPJx3C17ziPKxc43CkaW4VOdigpN1nAo14Q5Zwh+qa60RHvXhEn1OsZc8oJKTYaom6yObKt0v7Q== X-Received: by 2002:a05:600c:2187:: with SMTP id e7mr494241wme.161.1626188695150; Tue, 13 Jul 2021 08:04:55 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::648]) by smtp.gmail.com with ESMTPSA id s13sm14291058wrm.13.2021.07.13.08.04.54 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Jul 2021 08:04:54 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Bin Meng , Igor Opaniuk , =?utf-8?q?Marek_Beh=C3=BAn?= , Patrick Delaunay , Yann Gautier Subject: [PATCH 1/3] psci: Do not define do_poweroff() if CONFIG_SYSRESET_CMD_POWEROFF is enabled Date: Tue, 13 Jul 2021 17:04:47 +0200 Message-Id: <16a96efe0e8194507bfe6b6ef391aeab6f10e786.1626188686.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean CONFIG_SYSRESET_CMD_POWEROFF defines do_poweroff() in sysreset-uclass.c that's why don't define it twice when both CONFIG_SYSRESET_CMD_POWEROFF and CONFIG_CMD_POWEROFF are enabled. CONFIG_SYSRESET_CMD_POWEROFF depends on CONFIG_CMD_POWEROFF. Signed-off-by: Michal Simek --- drivers/firmware/psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c index 89cb7d88e5b3..657e7eb5aea3 100644 --- a/drivers/firmware/psci.c +++ b/drivers/firmware/psci.c @@ -210,7 +210,7 @@ void psci_sys_poweroff(void) invoke_psci_fn(PSCI_0_2_FN_SYSTEM_OFF, 0, 0, 0); } -#ifdef CONFIG_CMD_POWEROFF +#if IS_ENABLED(CONFIG_CMD_POWEROFF) && !IS_ENABLED(CONFIG_SYSRESET_CMD_POWEROFF) int do_poweroff(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { do_psci_probe(); From patchwork Tue Jul 13 15:04:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1504687 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=QCXBJU80; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GPP872Lqvz9sX3 for ; Wed, 14 Jul 2021 01:05:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0FCBF82DC5; Tue, 13 Jul 2021 17:05:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="QCXBJU80"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9BB7282DC5; Tue, 13 Jul 2021 17:05:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7D10482DB2 for ; Tue, 13 Jul 2021 17:04:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wm1-x32a.google.com with SMTP id g12so6039696wme.2 for ; Tue, 13 Jul 2021 08:04:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R05hClpjsIbteXSD8eTqDxqH4BbClQqVBSCMYwlycXA=; b=QCXBJU80GCy48PMG4zBmuqDEjq9XU3lwA7QoWIpaIwoIzjXvrzRJPCpMtjc+MxmBOW LtJlotOqcdRRpUYHphUvl4cnzGjZNT9KcQrahQ0oZPKuGB5jy9OVjYnjNSYkZ6XvvRVl 1eToCseMu2pu+ki71Nwb2Po6hM6aCctWVXrwsX6av2RJSO6bAzSdfJj3Hs6MRU6+6wc+ TLS5EefgdLuwl5DNhHVvj8C+IaYz3V3DJEOtPIrPhAPNfrhjI6yCb5jzf9x1teny3KKA cuNIn7yXMkJYzW5LAK7a/U4Z/jug4cynYQY077ux57C7t8ndT55SafdMgQwWRB4uteMC jLjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=R05hClpjsIbteXSD8eTqDxqH4BbClQqVBSCMYwlycXA=; b=tZkCIl74+Fw6H7Z2m3LUX0QrQMzRH6TAC5H2jSM12c8Wy8IsfzXRjNM66DsY9t9gcc R9TfDD+4aOibghsuYmypfGHuFAzHSlKTwXcL1cX2ypSXhcuLQ9QtYnV8MSM8TWZDOxyR kRHeaflwwcyS1MAeR39NJxA+FjDAGo5GO07vU1CuHcnzogVStxtnt/nG86QpfGkPksOr XK61jIwTm9mSjs02aM/3xoKStvOjOXQ4jZiyLJ6tkrvtAR3ZRwd/1ywC3p66bdCGeVFK R63V4q6Bx0ZqPxnzhbnQPfTagRQ38rAM9HMTM6PSG5dTLs+wGACVPIGMuhCO/jupcV2h AtTQ== X-Gm-Message-State: AOAM533KJeGWjBChg11iCZuNKHjC9QJnibK0nAQwlndWMNbQ2279WX4a k3e+NaQmI/SoqmNHvR6Qw/CIBgOk6qeQ1ff4 X-Google-Smtp-Source: ABdhPJxTdGkn2v92HOJWH4OynRFQg+7uQ5KENFaQBBtJ0fi6mKWyVqhmD805+DqemxiAqi5DXqDwmQ== X-Received: by 2002:a1c:f613:: with SMTP id w19mr42229wmc.136.1626188696818; Tue, 13 Jul 2021 08:04:56 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::648]) by smtp.gmail.com with ESMTPSA id g3sm18531458wrv.64.2021.07.13.08.04.56 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Jul 2021 08:04:56 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Subject: [PATCH 2/3] arm64: zynqmp: Do not define do_reset() if sysreset is enabled Date: Tue, 13 Jul 2021 17:04:48 +0200 Message-Id: <959e614a79ae4e0bf0c04aa0b8a19799fab2f002.1626188686.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The SPL can also be compiled with sysreset drivers just fine, so update the condition to cater for that option. The same change was done by commit efa1a62ad2dd ("ARM: imx8m: Do not define do_reset() if sysreset is enabled"). Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 18d5c515def1..38c910fa5bab 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -499,9 +499,11 @@ int dram_init(void) } #endif +#if !CONFIG_IS_ENABLED(SYSRESET) void reset_cpu(void) { } +#endif static u8 __maybe_unused zynqmp_get_bootmode(void) { From patchwork Tue Jul 13 15:04:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1504688 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=P5VZ+jid; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GPP8K5kS8z9sXV for ; Wed, 14 Jul 2021 01:05:37 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8348082E15; Tue, 13 Jul 2021 17:05:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="P5VZ+jid"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6B2C282DDD; Tue, 13 Jul 2021 17:05:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3CB8682DC0 for ; Tue, 13 Jul 2021 17:04:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wm1-x32f.google.com with SMTP id l17-20020a05600c1d11b029021f84fcaf75so1876287wms.1 for ; Tue, 13 Jul 2021 08:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YhK7wINPhPHCqOO3EREsIWSzfEolh4kTH9Tz8UWjR5k=; b=P5VZ+jidi9kfnpoVdezGlWgpddImekN9azhLb7eypUQw3U6DMqblyB1aO3lOth7nat NFTdgfsMdT4aXtHJZEsHdq8cxgp7bLDAo4t3eTblnQZeSkmBSlkcJ46rUGFY3QNeCMR/ B/WrFpsRl6Z+PhZhrRpuIW/1Pb6sYvqvay0QSfjw5LNlHht/7g8jxv+O3xNyMU447EkC M4TXTEReL8JTTTns3vBt/69z+i/8ZsI/sQ4+54GQl+6ihfzPcweylbVd5hRvkeKm7PGh 2iDoKDprsW8EOfhzfk64ZixRvrCxusGkrLj/vD91QsJY1GsdYZb+OGnlS/EgpxWL2A5B SL1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=YhK7wINPhPHCqOO3EREsIWSzfEolh4kTH9Tz8UWjR5k=; b=U3X6/2PrGrYStW9whxl1d6bjsaro4MQzgbcx8Ttd5CRMhuclvIJfiok5onbQz4Dfxf RcxjdEtvDgNanN5CcSKVT/zZpxDSUqOmpNbiOaxWQD3zRAwYvqZ54nB1oUHydqYD4wox FrgkJ6tge6G7TmEGDUiJF00PnV/nTIbhVx51ad4PQxd01Rao/mds3nWCHvalp8FZjv/l jvLZbBardcHdGxeAD7oZ6xhegQDfbYzLOxW4QvvBw97d/ptkdB7bV4cMs2HNBlJOPVUL BvQQ7FUnCoFMF3qWlS80BNp9/4Nd3xUtWs27DZWCKZj+X2HnCp8bVSFBG0gJitYWsUny IYDg== X-Gm-Message-State: AOAM530DCuY0Tp7GTTAEnKTFpkey7drYyecNP58aJpgsrRvaRGOF1sr5 uIjBT/tD1fPLdieeFp4SqUiriKlPsWPC0a9w X-Google-Smtp-Source: ABdhPJwTtua+eRmjNXGuQ5zUQlrz33d7Gnuj8WNkKZTYGWdTTtDK7vDRyPZL5Yvx1nuMZUJp0gaixg== X-Received: by 2002:a7b:ce82:: with SMTP id q2mr56849wmj.60.1626188698389; Tue, 13 Jul 2021 08:04:58 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::648]) by smtp.gmail.com with ESMTPSA id w15sm3069713wmi.3.2021.07.13.08.04.57 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Jul 2021 08:04:58 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Subject: [PATCH 3/3] arm64: zynqmp: Enable reset and poweroff via sysreset framework Date: Tue, 13 Jul 2021 17:04:49 +0200 Message-Id: <417d71fb5de45869c2f68bde6587748188dc5138.1626188686.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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 --- configs/xilinx_zynqmp_virt_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig index 5f32ca49300f..bac1e181d265 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