Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2621C433F5 for ; Fri, 17 Sep 2021 16:18:40 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3113161100 for ; Fri, 17 Sep 2021 16:18:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3113161100 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1CB2083246; Fri, 17 Sep 2021 18:18:34 +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="IEL0mFeQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 725F28325A; Fri, 17 Sep 2021 18:18:01 +0200 (CEST) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 3FEB28312C for ; Fri, 17 Sep 2021 18:17:53 +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-wr1-x42b.google.com with SMTP id i23so16085822wrb.2 for ; Fri, 17 Sep 2021 09:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4ep6Z7kmgn8RZ+vjtpAfakabCQlo0ePYCtGnajwPWkQ=; b=IEL0mFeQh3Q6DTK15yfXY6pguaeEzmBd+OaGOY8/HxSPAh2lTqnXU4nQFC4JBauUAg bQ7MmXhzyPKTpWiUEGBXq3KVLoS3D14SU6F08IJrg0NorKjHnyZFhoiyxr+EvzaDcRUV CkK4AvEOEnuNxc4H9S4CX59xjeYaFozJ8YJwE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4ep6Z7kmgn8RZ+vjtpAfakabCQlo0ePYCtGnajwPWkQ=; b=4sqZ/acAmumekPSVI39PCIziJrbIqU+Za3OkInidGPqJ8rBUg2h0LaTty0J4fjYplg PX071QF3rKkOwftIUK1mLRFJ/6NDmVusltcvDD32dtBf1qhhGqpaShOgjDwfXMXE4sf0 YjpuhZ4GuxYkmwDOWGZcihqSF4qeCF3HWJ742tAPa60TiNHq+BiNn9EkI+Kl2Iu0WHLn nlX8i7HQZ3ugoTsEYGhIoyP6j76o1XvQwSq6cKcAzbWY3dsuTxjeW4Ii+MVdAPUHgntM Ouye24qa8rYsk3R6F7x63ivi9+B85UCXP/0wsLFbibC9rjcGcfm6I8RVrZRkGAdcm6HV igzQ== X-Gm-Message-State: AOAM533PK0qoUoBj89JG5xzwy2gVPnZQpoWKPKkcJgJjxOTlVulK8EUO KV49FifbQ7D88WeP+5CG0Zk4j9h5oz/aFzFJ X-Google-Smtp-Source: ABdhPJykBH1iquxgP+n8c8tZf8k3o1VGJN3AUP5U5X6NT6b1sCyWGuxpSjwnUVfmOr4bQ4GXy0ELzg== X-Received: by 2002:a05:6000:184e:: with SMTP id c14mr11252173wri.242.1631895472473; Fri, 17 Sep 2021 09:17:52 -0700 (PDT) Received: from sjg1.COMFAST (host-92-2-168-81.as13285.net. [92.2.168.81]) by smtp.gmail.com with ESMTPSA id 48sm7699906wrc.14.2021.09.17.09.17.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 09:17:52 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Masahiro Yamada , Simon Glass Subject: [PATCH 04/17] cmd: Add an SPL Kconfig for CMDLINE and HUSH Date: Fri, 17 Sep 2021 10:17:27 -0600 Message-Id: <20210917161741.1275871-5-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog In-Reply-To: <20210917161741.1275871-1-sjg@chromium.org> References: <20210917161741.1275871-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean 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 --- cmd/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 3a857b3f6e2..f469739a5fe 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 -- 2.33.0.309.g3052b89438-goog