From patchwork Wed Aug 11 10:04:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1515732 X-Patchwork-Delegate: trini@ti.com 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=MDOmcFPi; 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 4Gl55v23b4z9sRR for ; Wed, 11 Aug 2021 20:04:51 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 09C2B82CDE; Wed, 11 Aug 2021 12:04:40 +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="MDOmcFPi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 31BE782CDE; Wed, 11 Aug 2021 12:04:38 +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-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 DF44D82003 for ; Wed, 11 Aug 2021 12:04:33 +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-ed1-x530.google.com with SMTP id d6so2867295edt.7 for ; Wed, 11 Aug 2021 03:04:33 -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:mime-version :content-transfer-encoding; bh=/G3SlYQHulswfD6z4hu4gWCaOUbb8555xUwENGxH1Qw=; b=MDOmcFPiIlmcV6BZvk6GoB2jzEFsHvtoFI8WgJYwexa5Y5TJVTWm3YKNKXvaWENErd VdNfu837/Y3QjOgVRLbQPBTcG44UoB64r9YS2vLBsHZu0YI2SRUuBvvbCl/eW4fggfrD tErsgurITO/igvh6mEzhBaLWAw7p1fMLw09m/YlBc7MzZN/LTidyytdn8sVK8VzwD1OJ bUQfnlVB97L/XniNvmJzoLAOhRV0iCkdGRcTFzX4lJmZu96BxJXY0n/oPqC15dqUP2Am XnmnLtrWqVpsLoF6BEG+A4nI+CInbQF/XpHL1rVM6TxjAfT1vPaiRUwTRSxLLVfpFM8a NC9g== 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 :mime-version:content-transfer-encoding; bh=/G3SlYQHulswfD6z4hu4gWCaOUbb8555xUwENGxH1Qw=; b=UL6R1V4wknf+wFW4PdyzThoNssP/IMEmNtmY+eERr8PXKz9YUm+c5MsuaZMOdyZXDT Hzb1jp2sB2y1Gvlqzu7i2/9z2aD/jOAlvZCdEDXP2U+eU9aDI+INbp+FYVBO7jdmmANV HuG/7TjM4ncJAGW5yEwXttM149HB4FHT16Nvbt73bdMutUOZAxc3HDDGBOU3EIceyqUd 9BsELbI/laslVhZIzEF3a7q0Zq8ZrMDLhlji6U1vjn0Ff6zUI8+VbL6UkBAyKvR5fpUW PFaqw9rqwiYHwyBkM/ysbNwsROex5UEV0Od2tx4OsukbCxxrz5+2mwAfOTZy2NPyqYgf Fbew== X-Gm-Message-State: AOAM530VqssQ6h3khwgyHKzgZyTD4i3fR0cxPyAEsp4hmCWgwXzHFuez JvifbVOsa40z5SV/hQ24p8Vusmv4JCQMB/1j X-Google-Smtp-Source: ABdhPJzQztT4zMaUv4s+TSvlFMEY9q0YPW80TV7j43EeGrUwnjZrICldYQ+5vIlHgIM1vchmN+ER7A== X-Received: by 2002:aa7:c795:: with SMTP id n21mr10426978eds.182.1628676273318; Wed, 11 Aug 2021 03:04:33 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id y17sm5990995edv.51.2021.08.11.03.04.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Aug 2021 03:04:32 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Igor Opaniuk , Simon Glass Subject: [PATCH] cmd: boot: Update reset usage message Date: Wed, 11 Aug 2021 12:04:27 +0200 Message-Id: <82e0d7efdbd9f8c62f46c7e1a8913ffa52de5a1e.1628676265.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 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 commit 573a3811edc8 ("sysreset: psci: support system reset in a generic way with PSCI") has added support for warm reset via PSCI but this hasn't been reflected in usage message and user has to look at the code how to run it. That's why update usage text to make this clear. Here is full help with updated usage: ZynqMP> help reset reset - Perform RESET of the CPU Usage: reset - cold boot without level specifier reset -w - warm reset if implemented Signed-off-by: Michal Simek Reviewed-by: Igor Opaniuk --- cmd/boot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/boot.c b/cmd/boot.c index fab294e622be..be67a5980de3 100644 --- a/cmd/boot.c +++ b/cmd/boot.c @@ -58,7 +58,8 @@ U_BOOT_CMD( U_BOOT_CMD( reset, 2, 0, do_reset, "Perform RESET of the CPU", - "" + "- cold boot without level specifier\n" + "reset -w - warm reset if implemented" ); #ifdef CONFIG_CMD_POWEROFF