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 6AD36C636D6 for ; Wed, 22 Feb 2023 21:06:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8418685959; Wed, 22 Feb 2023 22:06: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="il1i0enO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CC60A85959; Wed, 22 Feb 2023 22:06:40 +0100 (CET) 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 0FA1F85911 for ; Wed, 22 Feb 2023 22:06:27 +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-xd2d.google.com with SMTP id m13so2200745ioq.13 for ; Wed, 22 Feb 2023 13:06:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qiSH3rgHkRi6MvFdGav3J6H/7TWbDsUTaGsjmORg9As=; b=il1i0enOm3YuB/PW2PV/VNgqng8H4MfUkV/DzatqOTAaGLQe0nrDTXZrzOLJNn27/b /trqBBAn05y2q65gIeaI9P5FsEFOi/Tk+UP3al6FfoDa6+Y9ddm3CQgloNP1Q5H3w2+B M3sVpr3ZpLCG2hL28xtRNo5QBAjtILLXmSXn0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qiSH3rgHkRi6MvFdGav3J6H/7TWbDsUTaGsjmORg9As=; b=bayFAhuU/KvDDldtb+9XTuRk3AIPWKVlkKhHHO4QJsWh22hTqWFtKssI+sc/FJfmdK MD4qUF+mASJ7tlTDJcGz+D+8+goaWia38uC/TAZX6U1rDe8GOmMz3/2IA0fINiJAymGt P4WNrSCBwvyZ2DfR34HNUQQJqntCykCCV+5lENpHM8+YWd/4LLN7gBBkPUiKbtpOagV8 rMf9Xsl9TT2DKJb0wkBGJpZu75Xu7DHnX9luTdMXhy3eFgNJK/GQGYndhZ7f5GRXL2pf v/1msDBofa8HxTVuezFGB2exbLXGhRT4va4arNNcqrGedhWv3rbq5oxVe8Ab2AFBbKSm EvCQ== X-Gm-Message-State: AO0yUKXJhirjWudnBY51Kw6Dk7nWCrFTGr+zFNFIqHQZT0W+I9P6Drz9 sN9pHe8raeV/huf43dGm1v1FnHDIMU2gH+BD X-Google-Smtp-Source: AK7set+7/Ad89cMqLilhcjSbyNh0RYh43dj5J2Vg8ZH8LaNZVVkk/J2PDkwlE/5lSCJCAxRJZjmBVQ== X-Received: by 2002:a05:6602:340d:b0:723:8cb5:6706 with SMTP id n13-20020a056602340d00b007238cb56706mr6689425ioz.5.1677099986361; Wed, 22 Feb 2023 13:06:26 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:ba91:a998:7b71:c020]) by smtp.gmail.com with ESMTPSA id y21-20020a02a395000000b003a9595b7e3asm1601434jak.46.2023.02.22.13.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 13:06:26 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Ilias Apalodimas , Simon Glass , Philippe Reynes Subject: [PATCH] bootstd: Make BOOTSTD_FULL depend on BOOTSTD Date: Wed, 22 Feb 2023 14:06:23 -0700 Message-Id: <20230222210623.3457944-1-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog 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 Move BOOTSTD_FULL down in the file so that it can be enabled only when BOOTSTD is enabled. This prevents a build error if BOOTSTD is disabled but BOOTSTD_FULL is enabled. Signed-off-by: Simon Glass --- boot/Kconfig | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index 5f491625c82..47952bbba23 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -371,19 +371,6 @@ config BOOTSTD U-Boot) - bootflow - a description of how to boot (owned by the distro) -config BOOTSTD_FULL - bool "Enhanced features for standard boot" - default y if SANDBOX - help - This enables various useful features for standard boot, which are not - essential for operation: - - - bootdev, bootmeth commands - - extra features in the bootflow command - - support for selecting the ordering of bootmeths ("bootmeth order") - - support for selecting the ordering of bootdevs using the devicetree - as well as the "boot_targets" environment variable - config SPL_BOOTSTD bool "Standard boot support in VPL" depends on SPL && SPL_DM && SPL_OF_CONTROL && SPL_BLK @@ -406,6 +393,19 @@ config VPL_BOOTSTD if BOOTSTD +config BOOTSTD_FULL + bool "Enhanced features for standard boot" + default y if SANDBOX + help + This enables various useful features for standard boot, which are not + essential for operation: + + - bootdev, bootmeth commands + - extra features in the bootflow command + - support for selecting the ordering of bootmeths ("bootmeth order") + - support for selecting the ordering of bootdevs using the devicetree + as well as the "boot_targets" environment variable + config BOOTSTD_DEFAULTS bool "Select some common defaults for standard boot" depends on BOOTSTD -- 2.39.2.637.g21b0678d19-goog