Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 73D6BC433FE for ; Mon, 17 Oct 2022 20:33:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 75BBB84F88; Mon, 17 Oct 2022 22:31:13 +0200 (CEST) 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="i4BaXeum"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D850B84FA1; Mon, 17 Oct 2022 22:30:53 +0200 (CEST) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 9685284F68 for ; Mon, 17 Oct 2022 22:30:24 +0200 (CEST) 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-io1-xd2d.google.com with SMTP id l127so10091351iof.12 for ; Mon, 17 Oct 2022 13:30:24 -0700 (PDT) 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=l3Sag7xrm8aTXYwkDhW72QtivJQ1F1ZUISvgVa1bO6s=; b=i4BaXeumSG0Moqvybgu8p98gUkm18y08Bc5Y7dmvWY8UiRuj+F65HnGX0wAJlYFY78 t7bUrzjFkanZE7jZZyXxsBkW6jfamCf0/UCBQJEiawlBjfPALoUtnEFTCGyFXklHCf0z 0kvzZTSv58I/EBB+Mx7ar5ittsneUlF6S3bGo= 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=l3Sag7xrm8aTXYwkDhW72QtivJQ1F1ZUISvgVa1bO6s=; b=EFm1Qj8phS35eDByHFwsMKk2W90TiUkp6fsvoq5ptaWq720U5vVtUXZFL7KzYArQYy yw3pW31Lq3v9MiX4mG3kA1nfl46iZKrHemAw+Vfu/6C7roJR3tX5reREAer0uG70sBGv E0oN4Yd+hFUuiRzlCYNdxNjt6CvzrZeZh812mbS/VF0l+4Z5HGKoAEfoZ33WB9tb3Kd3 4aEtBIIO/Wul3hpoA3rhl1OleuEMHSv+K1Q1X8b9xwGyyySdNhTHoXhRZet34IrHetTs 1x5oW61gTUlL5RGr10Y6YW2gVxCZQhbj8SoIhkmzannWk1ewib4RHu6zDYgXGKJGgJBD WATA== X-Gm-Message-State: ACrzQf228xSqAsSV5jw4zNCyJsRYm/WYrNTP6t3WaHYgLWcqBm28GIlW L+afodfLD4X47mcNTs9q5B3ULmZxA/7LlQ== X-Google-Smtp-Source: AMsMyM5GJk8y88quARYP2HN2H6GYmsc0PmRs4eu5AYn1qtfxYIpMeklzhMtvQ+7X4j7fab9cfq+YZQ== X-Received: by 2002:a05:6602:1551:b0:6bc:dfba:33f9 with SMTP id h17-20020a056602155100b006bcdfba33f9mr5385314iow.76.1666038623796; Mon, 17 Oct 2022 13:30:23 -0700 (PDT) Received: from kea.bld.corp.google.com ([2620:15c:183:200:91e:7804:2764:d161]) by smtp.gmail.com with ESMTPSA id j9-20020a926e09000000b002e939413e83sm258071ilc.48.2022.10.17.13.30.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 13:30:23 -0700 (PDT) From: Simon Glass To: u-boot@lists.denx.de Cc: Anatolij Gustschin , Tom Rini , Simon Glass Subject: [PATCH 10/24] video: Enable VIDEO_ANSI by default only with EFI Date: Mon, 17 Oct 2022 14:29:46 -0600 Message-Id: <20221017203000.2207887-11-sjg@chromium.org> X-Mailer: git-send-email 2.38.0.413.g74048e4d9e-goog In-Reply-To: <20221017203000.2207887-1-sjg@chromium.org> References: <20221017203000.2207887-1-sjg@chromium.org> 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 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 is not generally needed unless EFI_LOADER is used. Adjust the default setting to reduce the size of the U-Boot build. Signed-off-by: Simon Glass --- drivers/video/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 32938376655..ed77815504b 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -118,10 +118,13 @@ config VIDEO_BPP32 config VIDEO_ANSI bool "Support ANSI escape sequences in video console" depends on DM_VIDEO - default y + default y if EFI_LOADER help Enable ANSI escape sequence decoding for a more fully functional - console. + console. Functionality includes changing the text colour and moving + the cursor. These date from the 1970s and are still widely used today + to control a text terminal. U-Boot implements these by decoding the + sequences and performing the appropriate operation. config VIDEO_MIPI_DSI bool "Support MIPI DSI interface" -- 2.38.0.413.g74048e4d9e-goog