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 4C713C636CC for ; Tue, 31 Jan 2023 15:28:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2ACD785AF7; Tue, 31 Jan 2023 16:28:25 +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="iKO+6VyE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8CBFF85AED; Tue, 31 Jan 2023 16:27:48 +0100 (CET) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 048A185AE0 for ; Tue, 31 Jan 2023 16:27:44 +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-io1-xd29.google.com with SMTP id o1so1973118ioo.10 for ; Tue, 31 Jan 2023 07:27:43 -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=c9Qtd4kajQkAdDzSwyK4x0Pv6/6a8zewTpcm5zfaY2w=; b=iKO+6VyE20hJTXoIe3U1LN/tba54yYoOqgU5r5cdcEPjekfPQcF5qyu4AiO5X0Shkk 7j4vwdR6C1Z0Of+pe/UXz/rLhI8cc4Ohn55nUjZCWbETl0DrBivPb6qbYgckN2SXiNbC LE72PqIYXsVyIxBwt0tnMfuIi0oXv4xhWon3I= 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=c9Qtd4kajQkAdDzSwyK4x0Pv6/6a8zewTpcm5zfaY2w=; b=tlNPySC7bMtrO4z2FwVeiVE9PRJ4T9C1bXCnHF1dwOsPb1QUZYjxzOmA22s/9zG1Ko eIRYKWan8vn0eWmMUUc11t+VOOi0luBW95rmAXgzSq3V8DPfJx2AJvAoCo1/0UvyXDj2 Akay9vKD9IwpbUQrefSW8WF8s/H3BQVpJ/Vo1epmxk0H0a9Mmg21LLH88nWxTnlv25N+ I0gz5QXgmqOc1XnAMNfgUXPeqD8EwWolNJolMwGculo1OaEr8OgGChqt/RB0nhQDd43o 9S1p+AQSsVe7l2OppON3bqv+75opuViDDAxpArOBfcKJ75xatip+KBq5JHRmuVuW9m6A Y8yQ== X-Gm-Message-State: AO0yUKXyLlLWufWfwKujIYwVkS8rxpzuPmcRhEk0XaTXFEJE/tFqx37K xWx+j87GNhhT6LyJrN40bI70xmsMVLFmyJ4f X-Google-Smtp-Source: AK7set+D815gtP8cNFxemkiAmc4c22qhbABFRrH0WHXi2Wca+NZZoMU9X90f86T6wS3DUHcOabz94w== X-Received: by 2002:a6b:3b13:0:b0:717:3cf4:58c with SMTP id i19-20020a6b3b13000000b007173cf4058cmr8797339ioa.0.1675178862447; Tue, 31 Jan 2023 07:27:42 -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 u4-20020a02cb84000000b0039db6cffcbasm5649328jap.71.2023.01.31.07.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 07:27:42 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH 04/32] cmd: Add an SPL Kconfig for CMDLINE and HUSH Date: Tue, 31 Jan 2023 08:26:34 -0700 Message-Id: <20230131152702.249197-5-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230131152702.249197-1-sjg@chromium.org> References: <20230131152702.249197-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 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 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 -- 2.39.1.456.gfc5497dd1b-goog