Message ID | 20230204002619.938387-6-sjg@chromium.org |
---|---|
State | RFC |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) 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=K3HsLLsX; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4P7tgR0x0yz23hh for <incoming@patchwork.ozlabs.org>; Sat, 4 Feb 2023 11:29:07 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 582098602D; Sat, 4 Feb 2023 01:28:55 +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="K3HsLLsX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5D4A985FEE; Sat, 4 Feb 2023 01:28:03 +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-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 C360885FE4 for <u-boot@lists.denx.de>; Sat, 4 Feb 2023 01:27:59 +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-x130.google.com with SMTP id k17so20945ilq.12 for <u-boot@lists.denx.de>; Fri, 03 Feb 2023 16:27:59 -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=AombHoxxwb9BUBgnn/SB0xiRjHcNOO8nGus/VdvIgJE=; b=K3HsLLsXrUjU+p9VTeN1PeJ8zz0ms5EmAfpbkGcoWOPXVuOanuelxWVvtqECnG1uz1 Q42mH5KyR/WWRFNLdYwobPZwqrSRPXe4CkDX403HGHZoGXyuLkIDIL9S1IdtjaqsbUV+ GzgPRKqQF7+UG0WyFAT6IpUedwcHQeeLxVUkM= 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=AombHoxxwb9BUBgnn/SB0xiRjHcNOO8nGus/VdvIgJE=; b=3qOR1LSZrTj5uRbfA55FQle3s3T35SWUeMq5jF7gxpKYUiF8p16Q+da+MNHKzt688B 9G1rWNWxvTtfVLd9k/SiFw0X41NEIzFcI8twvd+8YzYKpdrzr92X9gXuF3bIwDdY0ugm t0n+KIVZyBwXNBJxK5IS+C7Tk8GfTcjV2YqJzU5fgJxAQSRcfhOV2YjN4qnRWwUSp9x/ pvNbGxqwRcSDGyiqf9ldCJuBA0jV/d8K1n+GhaX9t+iqtkBgJF+fjKdYBqBgbHw/9NpK viAhCv/TjCbpunWKDhsAYSlCy3Qc6N55f4C6glwVNhkf85Zt4aidYr1fthmvDQVjkYx3 u8GA== X-Gm-Message-State: AO0yUKW39BBKGXliD86P2vr/+lNEnqJoXB7/VbPwD7LdAZ7BHcOzi8/B c5S3uke0t6nsKimi0MRzyIcggyEuSTKNu3vL X-Google-Smtp-Source: AK7set+XlMw1RbY7LCMye8TqJP0RCV85nJnuDlsU0ZXuvN2MR+RqwqAtHX4YXK8XGRUZqwIUeDtGEw== X-Received: by 2002:a05:6e02:1566:b0:310:b39f:1d11 with SMTP id k6-20020a056e02156600b00310b39f1d11mr10134159ilu.12.1675470478373; Fri, 03 Feb 2023 16:27:58 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:5b65:12f1:51b7:8157]) by smtp.gmail.com with ESMTPSA id j12-20020a02cc6c000000b003adab954c5asm1270255jaq.153.2023.02.03.16.27.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 16:27:58 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org> Subject: [RFC PATCH v2 05/56] cmd: Add an SPL Kconfig for CMDLINE and HUSH Date: Fri, 3 Feb 2023 17:25:28 -0700 Message-Id: <20230204002619.938387-6-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230204002619.938387-1-sjg@chromium.org> References: <20230204002619.938387-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 <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.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
Migrate to split config
|
expand
|
diff --git a/cmd/Kconfig b/cmd/Kconfig index 82321bd3293..f6a355422fe 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -23,6 +23,16 @@ config HUSH_PARSER If disabled, you get the old, much simpler behaviour with a somewhat smaller memory footprint. +config SPL_CMDLINE + def_bool n + help + Dummy option to ensure that the command line is not enabled in SPL. + +config SPL_HUSH_PARSER + def_bool n + help + Dummy option to ensure that the hush parser is not enabled in SPL. + config CMDLINE_EDITING bool "Enable command line editing" depends on CMDLINE
At present we rely on this not existing to avoid building various command-line features. But with the new split configs this does not work. Add separates Kconfigs instead. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) cmd/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+)