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 74BDAC77B7C for ; Wed, 10 May 2023 22:35:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 75FE3860BB; Thu, 11 May 2023 00:34:58 +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="m67QaGxo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D1F1C860B6; Thu, 11 May 2023 00:34:56 +0200 (CEST) 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 E5E11860CF for ; Thu, 11 May 2023 00:34:52 +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-il1-x131.google.com with SMTP id e9e14a558f8ab-331911956c3so58857515ab.1 for ; Wed, 10 May 2023 15:34:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1683758091; x=1686350091; 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=6V4sDf9frLU87gWzoZ3Z9m0xbzDvLN9zk4QgB6OA4iQ=; b=m67QaGxokHrgI+Gfk970cikIaIYiLUCOsjAkinNvej8kHUzKQLbDA+O5Qx+Lv2dPu9 yvsRB0PhJd/Ak0gTEb5rbCf7Lep60rl7j2hA1H9dyHc+DbM2Ivr3Xy8tiyma+CKnUqCn 6zf5+4JDd/eiFJlZ69aqlurXCJxwqDNeajpSY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683758091; x=1686350091; 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=6V4sDf9frLU87gWzoZ3Z9m0xbzDvLN9zk4QgB6OA4iQ=; b=NihBFoyCUgnJYQ7Ul/W9Ji3N0bsSicJu5oMJa/WuM31RAc9qclOUPAsyVa8tKBdDqd ABRZYf76xYy1ReOsOGs5MRsgh9X2l/bkS+jHsgg5PZskphbiI8NkM3bBuFnkuWeN7o7A TUjsvDzsWuLprlQsGxX7c6ul/YKFrWKi71BLMXLtJZMrX5NcQnrhrINazIIS7rk0so6/ JIVxGWqeVrC/nwsoVP9fu9E9TOIPZ45UPGgJps4xe5dpf1I82U45FTnhVo9LnmDoihps /GQqqqBvfUmXRPTUnF8lTFEFyqpynIp5eIfmSViblwHTRX/hR8gh9JnMdOiBnVkyANhv lPZw== X-Gm-Message-State: AC+VfDy6uVao0RCYC8WKzL+k5tEpeVwj+8V7frRYO9Nb4Sc/1BUbWJzV l0+FL6d3DnzzGUfl02bFDUHDRpY/u4HntnzJIzQ= X-Google-Smtp-Source: ACHHUZ5ly5yIMQVs5fLaIEaa4CO1be9VkiTWR973AGrMppsm/VdY6I1e8xEFpSyjokyqZYybTbdwrA== X-Received: by 2002:a92:c904:0:b0:331:773f:e67a with SMTP id t4-20020a92c904000000b00331773fe67amr12961090ilp.31.1683758091588; Wed, 10 May 2023 15:34:51 -0700 (PDT) Received: from kea.bld.corp.google.com ([2620:15c:183:200:b37f:b05b:6e27:bdcf]) by smtp.gmail.com with ESMTPSA id p16-20020a02b010000000b0040fa726ff04sm3859946jah.45.2023.05.10.15.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 May 2023 15:34:51 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Andrew Davis Subject: [PATCH 2/2] bootstd: Create a new BOOTMETH_DISTRO Date: Wed, 10 May 2023 16:34:47 -0600 Message-ID: <20230510223447.209914-2-sjg@chromium.org> X-Mailer: git-send-email 2.40.1.521.gf1e218fcd8-goog In-Reply-To: <20230510223447.209914-1-sjg@chromium.org> References: <20230510223447.209914-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.8 at phobos.denx.de X-Virus-Status: Clean We cannot be sure what bootmeth a distro will need to use. Add a new BOOTMETH_DISTRO option which collects these together. Select this from BOOTSTD_DEFAULTS so that it is clear what is needed. Signed-off-by: Simon Glass --- boot/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/boot/Kconfig b/boot/Kconfig index 3f8e407be7c..dd11636fa7d 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -437,6 +437,7 @@ config BOOTSTD_DEFAULTS depends on BOOTSTD imply USE_BOOTCOMMAND select BOOT_DEFAULTS + select BOOTMETH_DISTRO help These are not required but are commonly needed to support a good selection of booting methods. Enable this to improve the capability @@ -523,6 +524,13 @@ config BOOTMETH_VBE supports selection of various firmware components, seleciton of an OS to boot as well as updating these using fwupd. +config BOOTMETH_DISTRO + bool # Options needed to boot any distro + select BOOTMETH_SCRIPT # E.g. Armbian uses scripts + select BOOTMETH_EXTLINUX # E.g. Debian uses these + select BOOTMETH_EXTLINUX_PXE if CMD_PXE && CMD_NET && DM_ETH + select BOOTMETH_EFILOADER # E.g. Ubuntu uses this + config SPL_BOOTMETH_VBE bool "Bootdev support for Verified Boot for Embedded (SPL)" depends on SPL && FIT -- 2.40.1.521.gf1e218fcd8-goog