From patchwork Sun Feb 5 22:44:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1737891 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=MDo4Ilo7; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P94lN66p5z23j7 for ; Mon, 6 Feb 2023 10:06:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 85F1F85FA7; Sun, 5 Feb 2023 23:57:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="MDo4Ilo7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A85DB85AC4; Sun, 5 Feb 2023 23:53:32 +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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 521B785B78 for ; Sun, 5 Feb 2023 23:45:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x12b.google.com with SMTP id l7so4137643ilf.0 for ; Sun, 05 Feb 2023 14:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=e7PwR1QNfWtiDyXEKKFwwlTA/oUmABZL2qfCNCVIHKw=; b=MDo4Ilo7e+yuhqrSJr6aXi5QCE5CahWsYuF9O1OdvTo7GhUVnr/CiOJ+uMAWAQyHM6 hjsV1h/dqMHguVu4Qa5bzb+GjIRUkbSeDO99ECbDep0BZB6LrVwa2kAE+Mk93+LAKLrE W4G++OsfS3hTTTbU927aJeQJO4I90Bn2plHx8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e7PwR1QNfWtiDyXEKKFwwlTA/oUmABZL2qfCNCVIHKw=; b=aRFcDWV1xk+lKOq1+2VHk3+sTxZBhUGAgdZRaV7N3ATq8itCBAewF1iIf3CDD+LJYv l6tG74rAX1IbjwvrJgn9gPO02DH4itskH6kXMnHYlctlyxBtzv48u0aPMfLrlZhEQgPx Y2Xc+GvsRWvj8sUX9RJheDido1Pd12aG7xxzm3eNgLwjjaabxz6ku78loQApltWNmxK4 LRCI/JqTLTL8f8bKAXEkiSnyuaqck1VH9HBO0l7RHo/5+S+0/YJGEeAxW4dOrS446HOl KJTx1AJFhB2qm/XcouUfcuOzuU4UHocYdPT5nYXGVswLJ3k9IFcahLYrb6OQTHKxZFDb n8og== X-Gm-Message-State: AO0yUKXnegQjZC6z8knL2+zZVc7KpMs7nFXXZ2l15kZD+r129aYmnzuD MmlqX/DR3gbRkxSLPssIhUL3u9CUYaTCrlLo X-Google-Smtp-Source: AK7set840JYnBxEowGCLBok3ByNs+cWAKonuQ4V82gRHl8bBpt+WnFJfPJkuHf1ESebEajqPmh45QQ== X-Received: by 2002:a05:6e02:1c05:b0:310:ac52:1cf6 with SMTP id l5-20020a056e021c0500b00310ac521cf6mr14952212ilh.29.1675637126981; Sun, 05 Feb 2023 14:45:26 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id p8-20020a02c808000000b003a9cab5c5e3sm2903842jao.116.2023.02.05.14.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:45:26 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 164/169] Correct SPL use of VIDEO_ANSI Date: Sun, 5 Feb 2023 15:44:28 -0700 Message-Id: <20230205224433.234723-165-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205224433.234723-153-sjg@chromium.org> References: <20230205224433.234723-153-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean This converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_ANSI defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) cmd/cls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cls.c b/cmd/cls.c index 787c7edbee3..40a32eeab63 100644 --- a/cmd/cls.c +++ b/cmd/cls.c @@ -19,7 +19,7 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc, /* Send clear screen and home */ printf(CSI "2J" CSI "1;1H"); - if (IS_ENABLED(CONFIG_VIDEO) && !CONFIG_IS_ENABLED(VIDEO_ANSI)) { + if (IS_ENABLED(CONFIG_VIDEO) && !IS_ENABLED(CONFIG_VIDEO_ANSI)) { if (uclass_first_device_err(UCLASS_VIDEO, &dev)) return CMD_RET_FAILURE; if (video_clear(dev))