From patchwork Sun Feb 12 23:15:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1741181 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=dLFIGh9G; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PFNkP4h2Fz23h0 for ; Mon, 13 Feb 2023 10:20:45 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C712A858D4; Mon, 13 Feb 2023 00:18:49 +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="dLFIGh9G"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 024BB85648; Mon, 13 Feb 2023 00:17:43 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 B1C6F854EF for ; Mon, 13 Feb 2023 00:17: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 a10so3963797iod.0 for ; Sun, 12 Feb 2023 15:17:27 -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=xypQ/Voy22XlZlYFUzSU6LLnfQGPfHMu5K5XchkUkdk=; b=dLFIGh9GgjsDPmqzSK/knUfatdmNKbMA2U/kQ+dPNTy01EFQ0oRKCtqeZ+iHunQYqy FpX2qSlRYj48UjaP0yqDqYOq+pUDxyq/LvvGhlx3+K+sP+G+uXZTriPeQSMDW+h6TaYV G7NkKSABSTipT6bODpjj0uocgtcuazPrCtCVg= 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=xypQ/Voy22XlZlYFUzSU6LLnfQGPfHMu5K5XchkUkdk=; b=kcPnFHRCgIOzkaSIlpCmj0MwjN5/cuUzhCXfRfGaXDbs5YniF5MFUD+G6sWPuzYHmU 2HHcbqBNNC6qDNctKPvSBJFP9t0xXhbZMYQC/a5/MVVowhju8SRdUP0O7GemqJFqTsh4 U0hNe9zxPPB1JRFGKK2VRlvXFUjc9/RaXfhWtMBE43+/3k4CA/s3/PHWIOo4IPVHptov LmHCsiQ+ODLrFSLHaG0E9a9t7Pskm5Ltw6nXMvfqqqg0IZ+T/wKP9SEao6VfxXb8YKEs jiLFElsbQssfq5SdTXP7EXvWjdd1UCikp1EzE9BQfXSnUEk/UUpVwUYVXhvRmZmbde2O /8Pg== X-Gm-Message-State: AO0yUKW7uiomynLN40kU5xcxsuLUQGLZquiMRwXQ5460XkM1FFUR3GYi TZGPTiaAD+Ep3aCXRT+vlH8wPafkvgL3VbU6 X-Google-Smtp-Source: AK7set+s2P7JW/NvxUe2wg7tpYdvkIDMxiQeFNkUIY41KxDWEk6zd7bLakoiGDRbcGwRBMHa1sFSdg== X-Received: by 2002:a5d:8750:0:b0:710:25f2:7c7e with SMTP id k16-20020a5d8750000000b0071025f27c7emr22022137iol.17.1676243847129; Sun, 12 Feb 2023 15:17:27 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id n16-20020a6b8b10000000b006dfbd35e995sm3627849iod.21.2023.02.12.15.17.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 15:17:26 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v3 15/95] boot: Add Kconfigs for BOOTMETH_VBE_REQUEST Date: Sun, 12 Feb 2023 16:15:18 -0700 Message-Id: <20230212231638.1134219-16-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.581.gbfd45094c4-goog In-Reply-To: <20230212231638.1134219-1-sjg@chromium.org> References: <20230212231638.1134219-1-sjg@chromium.org> MIME-Version: 1.0 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 Allow this to be enabled separately in U-Boot proper and in SPL, since it is not needed in SPL. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 13 +++++++++++++ boot/Makefile | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/boot/Kconfig b/boot/Kconfig index 5a595825f8f..372be65e534 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -536,6 +536,19 @@ config VPL_BOOTMETH_VBE if BOOTMETH_VBE +config BOOTMETH_VBE_REQUEST + bool "Support for serving VBE OS requests" + default y + help + Enables support for looking that the requests made by the + Operating System being booted. These requests result in additions to + the device tree /chosen node, added during the device tree fixup + phase. + +config SPL_BOOTMETH_VBE_REQUEST + def_bool n # Support for serving VBE OS requests (SPL) + depends on SPL + config BOOTMETH_VBE_SIMPLE bool "Bootdev support for VBE 'simple' method" default y diff --git a/boot/Makefile b/boot/Makefile index b9a12236798..88193a1b60e 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -52,7 +52,8 @@ endif obj-$(CONFIG_$(SPL_TPL_)EXPO) += expo.o scene.o scene_menu.o -obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o vbe_request.o +obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += vbe.o +obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_REQUEST) += vbe_request.o obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE) += vbe_simple.o obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_FW) += vbe_simple_fw.o obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE_SIMPLE_OS) += vbe_simple_os.o