From mboxrd@z Thu Jan 1 00:00:00 1970 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 0E8C9C636CD for ; Sun, 5 Feb 2023 23:07:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D98C286040; Sun, 5 Feb 2023 23:57: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="jTK30XmW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C07548529D; Sun, 5 Feb 2023 23:39:23 +0100 (CET) Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (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 A855685989 for ; Sun, 5 Feb 2023 23:38:56 +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-x131.google.com with SMTP id z17so875401ilm.7 for ; Sun, 05 Feb 2023 14:38:56 -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=oklRrxhPtCtmCXBKrZF/t9mlXNRNpB0IOJdg03T4nNk=; b=jTK30XmW2owhKiUalWZYFCkclHwEC+9TAn43hnzg8IOj2+VOGEW1tmTXiwyhIj9rXo /X16rcE4xMb+iih4p6O9Sjlw41f4rdmzMabInlqb2nt/3JRqJb+v3piXnphejDLXHAaX yqHzVNN7WUo1m+k0isb9ivCZ4vOnYaev5/iEk= 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=oklRrxhPtCtmCXBKrZF/t9mlXNRNpB0IOJdg03T4nNk=; b=X17WrjGADNp1WJrlEiLKvZBJocopROzeVYnGFuPfQRLPeGyMa6Y26oZb55GefPn1lj doRyOaE6+5Z6sGQAC1tMJlGBuYeR2Px8Oq/E05qFA4izKBp2peAEEujB+NieA6d6EP3q f9Q+Voy+LqtUEXEUvPlsordoWG9aw1CV610kQ34SRVO8xjEk1qPJp09YuWCgPbvvIuD3 lNUQ8Bfqv2kbyyzRHVTwzodbJtKheaIWsdu7yoR0AWRmexVHJcBEypQHm5EFkUdsaswl bo7jLD0kqmzJE0WDoBsbvHjZWkiGD0KMmDJddKqHzHpmXBuU0gtl/B8oOKxnR0RCkhm+ X8jQ== X-Gm-Message-State: AO0yUKVuyL+Gd6g+dKl9WL64xXzip5bFoZnSG5TPg2EuIQa/a0ruL3IW qoEkbaGGtp+yLt/gcsiqt1Csi0bBEtbP6hcI X-Google-Smtp-Source: AK7set96ylf8RNterB+FQib+CGv6PZa9VUiHTC2JRY3FKSMFd7u3YGcDOXPPtdEKmft6FxxNRf2W9w== X-Received: by 2002:a92:c56d:0:b0:30f:36e0:21d1 with SMTP id b13-20020a92c56d000000b0030f36e021d1mr15556925ilj.3.1675636735095; Sun, 05 Feb 2023 14:38:55 -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 m40-20020a05663840a800b003b49e7d990asm2856393jam.30.2023.02.05.14.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:38:54 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 012/169] console: Add a Kconfig for SPL_CONSOLE_MUX et al Date: Sun, 5 Feb 2023 15:35:58 -0700 Message-Id: <20230205223836.231657-13-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205223836.231657-1-sjg@chromium.org> References: <20230205223836.231657-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 and SYS_CONSOLE_IS_IN_ENV are implicitly used in the source and seem useful, so add them. Signed-off-by: Simon Glass --- (no changes since v1) common/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index e3a5e1be1e9..ea9bbd52128 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -235,6 +235,10 @@ config CONSOLE_MUX adds a small amount of size to U-Boot. Changes to the environment variables stdout, stdin and stderr will take effect immediately. +config SPL_CONSOLE_MUX + def_bool n # Enable console multiplexing (SPL) + depends on SPL + config SYS_CONSOLE_IS_IN_ENV bool "Select console devices from the environment" default y if CONSOLE_MUX @@ -245,6 +249,10 @@ config SYS_CONSOLE_IS_IN_ENV environment variables can be updated after boot to change the input/output devices. +config SPL_SYS_CONSOLE_IS_IN_ENV + def_bool n # Select console devices from the environment (SPL) + depends on SPL + config SYS_CONSOLE_OVERWRITE_ROUTINE bool "Allow board control over console overwriting" help -- 2.39.1.519.gcb327c4b5f-goog