From patchwork Mon Jan 30 15:16:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1734229 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=MiPtcp+l; 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 4P5C2n1V5Mz23hS for ; Tue, 31 Jan 2023 02:36:33 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7F9AE85A7E; Mon, 30 Jan 2023 16:26:43 +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="MiPtcp+l"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 31F40859C9; Mon, 30 Jan 2023 16:20:30 +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-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 B6D948575F for ; Mon, 30 Jan 2023 16:19:35 +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-x12f.google.com with SMTP id i6so1362186ilq.8 for ; Mon, 30 Jan 2023 07:19:35 -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=Gxf7GJk8BNHgofz9fK2Jop0a/oHJIHAajPGfJ7R8POc=; b=MiPtcp+lgjCo0XLVqQT6bjjVSp4tODhkVibYfCl0HQ2QC6M5UeGtm5dGees6c+pVLL CaIa5+payrB6qhoc8Kwj27BfaxOy1cnXa8vRCJAlfC11no/lUGZfTYZRWbYAUE/ofLc9 Nxr+dHzPUvfibVc1iN+Rfk7r0UYjZ+0cfgriM= 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=Gxf7GJk8BNHgofz9fK2Jop0a/oHJIHAajPGfJ7R8POc=; b=ndYEk/3jtiPNTUo6jRf+B41s1vQh5RKrAbjUC6buyz005NFLAbtQZ3FDhEi0rYMXvq 2lhxR6Uj+bjt69BB6JcZtE1b6xe7krCv1nZSVcji6mLCYss1aDaDGdlVYrx9XKk+a3Wk jICg5+M3ZA6uIK+W6edQGK2TBH05g3/jdvxNBlLFhfYojECH7vR8AANBEH1xHhEZx79D CJKSaYxcXh+fmoZmG0uSQevr+O/VBgFWtSN0usvQMiaqzsooatIM6QH2NYm2OJj/gYvz PksHoxDPyOe9Hbj9afCinMWQLCpsbjsXuZy40y6hfejr9aw9UbtgOc6WPp5iHibHcvuF 8B2Q== X-Gm-Message-State: AO0yUKV0aK+H62S1aEjwf9wYJ33B31ryAXjqlKXAIx7Vu1UclqUccx9V uJPIbNYK/p8SeR2bZfbEJQJAC7P4BrHq8iYV X-Google-Smtp-Source: AK7set/MerG/BUdzo6KsaPRSboZFW9pYqnQuhpntbJifgAD3HIvxGW+VYXwNQ5Tz8mrU5UZneFursg== X-Received: by 2002:a92:8e4d:0:b0:310:b003:14b6 with SMTP id k13-20020a928e4d000000b00310b00314b6mr5504223ilh.1.1675091895143; Mon, 30 Jan 2023 07:18:15 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id o13-20020a92d38d000000b00302bb083c2bsm4103194ilo.21.2023.01.30.07.18.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 07:18:14 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Heinrich Schuchardt Subject: [PATCH 166/171] Correct SPL use of VIDEO_ANSI Date: Mon, 30 Jan 2023 08:16:07 -0700 Message-Id: <20230130151612.212732-167-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230130151612.212732-102-sjg@chromium.org> References: <20230130151612.212732-102-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 --- 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))