Message ID | 20250319112003.594938-1-sughosh.ganu@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6a90:0:b0:38f:210b:807b with SMTP id s16csp335996wru; Wed, 19 Mar 2025 04:20:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVgFrDDKINFJ0/RT+aIVODj1DcxoFhl09cSlLy1itiGd3tXh57I1QrgOzxakWv+KM5eraFlfA==@linaro.org X-Google-Smtp-Source: AGHT+IHAN/YhOsqgCe4uwu9sWKYcWcJkDKokCio5DBn1c4VlDQDf5emPdvqdrjBKknbGMPvVyNEY X-Received: by 2002:a05:6122:310a:b0:523:7316:7f31 with SMTP id 71dfb90a1353d-525891bf74fmr1188208e0c.5.1742383228207; Wed, 19 Mar 2025 04:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1742383228; cv=none; d=google.com; s=arc-20240605; b=V/LrDj/5LlnSUx0q/6E8FWsZI1OjZUxGruqBC98z1G23ht029VwuOc6dwuH3xgMUnd Vk9IF4ZbtcA4OBt3M0494rmzGo8aH+t19pne+9yPHfdSbzZx4U9FQYsvWBGnJ9zvRGQG Z5fRFuQy71PYoJo/FzYy0YuQzHO4vaUwfXxAyoDVok91VZA7jxyAGQB3AuBqJmR+tItc ujYS1FzvxU6YkiTDHYuWtWkKB+7RtxxLAEiQh71JTNEPfN5kSsFcdwxHTBnyoqeOl11E 0Mr3lMapTIdlt++sdFHpn3t3lXhI4LKGjQxAW7vBtS0EUTPNA+7F0NoUXk+6/CVnjcVy 0fNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=9K0W7BNhVE+JPQhZ8Cc39BwMIugGRxe4p4KeeUYXvWc=; fh=u8Ao7tmq9AchHpS3m4bRUAXHcP78ULhuxSCxUkoWieI=; b=EuUhPi0eaMwpgG8ao6fOdIFjStvWZdQoswDzm1uw4yLpXpb8DFzyskpBL5mxo4Qqmq 8zmv9yWVo2ZCTCD85xNRp4I4E0IK2UmLYebjzgKSVek4Hl0jES7sL5lMIMtTFdo0eoLJ vwyC5tILlfOCSYfu3LB+aIWpZ6m+cR34jECZcEzWIUfKGw4/u5sl0BX0jDOSEeASmpTr DFHN1b1Z837rivl+Ab6jvbgdbLNt0qE/EsXs36FM8e/IJxm2JpMsJj1GhY2YygZNWyGV lPVQHQ8RbULQD+WRdgxbd5zOhXy+iFm8at1aFRU4KeKES4oYMKuk/qePvk6ugpcf0wDe K6pw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 71dfb90a1353d-5243a730691si3619796e0c.259.2025.03.19.04.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 04:20:28 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 57FF981101; Wed, 19 Mar 2025 12:20:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 1451A8141E; Wed, 19 Mar 2025 12:20:25 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id DF27A810F2 for <u-boot@lists.denx.de>; Wed, 19 Mar 2025 12:20:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5DB5F113E; Wed, 19 Mar 2025 04:20:30 -0700 (PDT) Received: from a079122.blr.arm.com (a079122.arm.com [10.162.17.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9CD2C3F673; Wed, 19 Mar 2025 04:20:20 -0700 (PDT) From: Sughosh Ganu <sughosh.ganu@linaro.org> To: u-boot@lists.denx.de Cc: Tom Rini <trini@konsulko.com>, Anatolij Gustschin <agust@denx.de>, Sughosh Ganu <sughosh.ganu@linaro.org> Subject: [PATCH] cmd: cls: do not repeat clearing of console Date: Wed, 19 Mar 2025 16:50:03 +0530 Message-Id: <20250319112003.594938-1-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
cmd: cls: do not repeat clearing of console
|
expand
|
diff --git a/cmd/cls.c b/cmd/cls.c index 4bee8a18305..b1e0619334b 100644 --- a/cmd/cls.c +++ b/cmd/cls.c @@ -18,4 +18,4 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc, return CMD_RET_SUCCESS; } -U_BOOT_CMD(cls, 1, 1, do_video_clear, "clear screen", ""); +U_BOOT_CMD(cls, 1, 0, do_video_clear, "clear screen", "");
There is no need to repeat the command to clear the console. Remove it's repeat attribute. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> --- cmd/cls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)