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 0E5ADC636CC for ; Tue, 31 Jan 2023 15:28:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B1C2485AF6; Tue, 31 Jan 2023 16:28:28 +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="fT8hUVml"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0A17F85AEA; Tue, 31 Jan 2023 16:27:48 +0100 (CET) Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (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 3700A85AEE for ; Tue, 31 Jan 2023 16:27: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=sjg@chromium.org Received: by mail-il1-x12d.google.com with SMTP id d10so6602939ilc.12 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=Zow0EyElMfcCNvYBV+iFyAWYpLXfDHfXOTOA7UFzHKA=; b=fT8hUVml1Jf7tGTm1v2dPv9RVhpKGf+yRuVxhPcQ7tkb4yYUP6RYYJkGzlrqQhtjR0 PewMdHpS62UFkWjleeI37fRwLNgIGhqZ8n5so4RiBAqCofV1JnvvwWU7n94Ik9MJRqJr DfxBC5I4NMtAg8B+986VHjVmIwV65VOcK9nVQ= 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=Zow0EyElMfcCNvYBV+iFyAWYpLXfDHfXOTOA7UFzHKA=; b=e6l4DoOoLe/HyO0BV4IQxJdhsQhUcnBThYRv3TIcumXq0E4zQHAU54aiG4eVzl9917 uHuIzDO28/NbwGVhu0nLIlIBNdGxg0Pym/0oUsr8XyrvmKIC6E8/ngMVSVXpaaaKXZuV JCz4Hki2TGXOneonrfAMPEkX5EHYzM/Yeuf6Bk364Uhi8UgbPSWrW22f2w9zh/98KM8S LzdkvEhWedfy9bdmIW1b76a2kunrFxS0nAPLa+VRU8gWhqggbMrYkhP23PJSwQNjmKR6 bhskngUDDuh0XwvjaS7xye5PHCko3vg63nG3YgTatHX92scS1IBV/5E20ek9Fn5tBtht mJ8g== X-Gm-Message-State: AO0yUKVKeESgTdSOVgvlgDmPN32LCjd5TxbxeiwVKy2sYMbbUKbVoKBn n58mHFWL92PuBpF9JokV79JIaVgBU8rzGKK8 X-Google-Smtp-Source: AK7set8NYrRAO138eZB+kW8hP6woDiCj8h1baUgc8L7C8i4HZ48BM6Am+sOkz3DU3KGRC+4+AWxmwg== X-Received: by 2002:a05:6e02:190d:b0:310:c833:b325 with SMTP id w13-20020a056e02190d00b00310c833b325mr14631266ilu.6.1675178861734; Tue, 31 Jan 2023 07:27:41 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 07:27:41 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH 03/32] bootstd: Add Kconfig options for SPL Date: Tue, 31 Jan 2023 08:26:33 -0700 Message-Id: <20230131152702.249197-4-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 Create new SPL options so that standard boot can be excluded for SPL. Signed-off-by: Simon Glass --- boot/Kconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/boot/Kconfig b/boot/Kconfig index dcfbe6ae9e0..81a3dba399a 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -354,6 +354,11 @@ config PXE_UTILS help Utilities for parsing PXE file formats. +config SPL_PXE_UTILS + bool + help + Utilities for parsing PXE file formats (SPL) + config BOOTSTD bool "Standard boot support" default y @@ -445,6 +450,9 @@ config BOOTMETH_DISTRO This provides a way to try out standard boot on an existing boot flow. +config SPL_BOOTMETH_DISTRO + def_bool n # Bootdev support for distro boot (SPL) + config BOOTMETH_DISTRO_PXE bool "Bootdev support for distro boot over network" depends on CMD_PXE && CMD_NET && DM_ETH @@ -455,6 +463,9 @@ config BOOTMETH_DISTRO_PXE This provides a way to try out standard boot on an existing boot flow. +config SPL_BOOTMETH_DISTRO_PXE + def_bool n # Bootdev support for distro boot over network (SPL) + config BOOTMETH_EFILOADER bool "Bootdev support for EFI boot" depends on CMD_BOOTEFI @@ -476,6 +487,9 @@ config BOOTMETH_EFILOADER This provides a way to try out standard boot on an existing boot flow. +config SPL_BOOTMETH_EFILOADER + def_bool n # Bootdev support for EFI boot (SPL) + config BOOTMETH_VBE bool "Bootdev support for Verified Boot for Embedded" depends on FIT @@ -539,6 +553,9 @@ config BOOTMETH_VBE_SIMPLE_OS for booting into the OS. This option is only enabled for U-Boot proper, since it is the phase where device tree fixups happen. +config SPL_BOOTMETH_VBE_SIMPLE_OS + def_bool n # Bootdev support for VBE 'simple' method OS phase (SPL) + config SPL_BOOTMETH_VBE_SIMPLE bool "Bootdev support for VBE 'simple' method (SPL)" depends on SPL @@ -599,6 +616,10 @@ config BOOTMETH_SANDBOX This is a sandbox bootmeth driver used for testing. It always returns -ENOTSUPP when attempting to boot. +config SPL_BOOTMETH_SANDBOX + def_bool n + depends on SANDBOX + config BOOTMETH_SCRIPT bool "Bootdev support for U-Boot scripts" default y if BOOTSTD_FULL @@ -610,6 +631,9 @@ config BOOTMETH_SCRIPT This provides a way to try out standard boot on an existing boot flow. It is not enabled by default to save space. +config SPL_BOOTMETH_SCRIPT + def_bool n # Bootdev support for U-Boot scripts (SPL) + endif config LEGACY_IMAGE_FORMAT -- 2.39.1.456.gfc5497dd1b-goog