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 D9CDFC636D6 for ; Wed, 22 Feb 2023 16:39:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C360A85B2E; Wed, 22 Feb 2023 17:36:05 +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="cL2xbaA7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 63B2E85B05; Wed, 22 Feb 2023 17:35:41 +0100 (CET) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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 6BDCD85B19 for ; Wed, 22 Feb 2023 17:34:56 +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-xd2b.google.com with SMTP id v10so739412iox.8 for ; Wed, 22 Feb 2023 08:34:51 -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=xYlPQjueFJol506zAcsf7x4PRg3FgfoN3F8jVeL2ZWU=; b=cL2xbaA7qxYb9jQJXkC1VPFwSnWExMkYf7XGkNLXShtM5ql00e78QFO52AIaz99KwQ J1wihPESs/d+9VnWjysPIJjP27muMQc9nRrPUlJ87nE4fMYuQW478SUhd0SQOCjtx7QX nOqrUQssrNl0+D2Zaljcg/6r9UaCyMKRxlfoc= 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=xYlPQjueFJol506zAcsf7x4PRg3FgfoN3F8jVeL2ZWU=; b=n4+XoCxnEXoWimo2DhhW2hX+Q+lgBItgvnxfQMkrzajUUnQurV1+mir1iK6KI+Ok5T p65Qn3x0iGBJd2nPtxaLzviNSJ2q11Yy6aO9GZcx9KHaAU5FARibH+sfEF0qZPvKdhs3 9TCaHq2ckLWTXpEIzSg3TCCA9qu6mti6/tSpt0MlxX70ZPWZrDUXZy4BTswQz1OHr/TO kKsd+IsxGXqzo7407kWsjLiZ7dwBcRaq+nA/aso8KYoT7ter58nU5EkrQJhhLuJOHmcE 5AtWEM0IF7RNz5P47A2FQFwAwPHoDXY2o+IdxBtTphy1SlfkjavWf1SBLt+ZqI9nT5H5 mMbQ== X-Gm-Message-State: AO0yUKVDNly4OiUyXYltfHflTmnaVaIlaW0EwQGE3V10Ep2hEyh66hXg 9eW8vs2H26BNx01r7B3E8FOZI2L1UtG0cigB X-Google-Smtp-Source: AK7set8AxIQTxtn/5+fTGfasPO7kEOkUAsLJyylVfTyFJfXuW4O6TWPvzWwBqmNUat+uANzPAyS9rg== X-Received: by 2002:a5d:87d4:0:b0:74c:91c7:8794 with SMTP id q20-20020a5d87d4000000b0074c91c78794mr2492602ios.21.1677083690381; Wed, 22 Feb 2023 08:34:50 -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 z26-20020a056602005a00b00716eb44b97esm2164541ioz.27.2023.02.22.08.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:34:50 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , John Keeping , Philippe Reynes Subject: [PATCH v5 11/44] boot: Add Kconfigs for BOOTMETH_VBE_REQUEST Date: Wed, 22 Feb 2023 09:33:52 -0700 Message-Id: <20230222163425.2043934-12-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230222163425.2043934-1-sjg@chromium.org> References: <20230222163425.2043934-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 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 v4) Changes in v4: - Avoid use of def_bool boot/Kconfig | 20 ++++++++++++++++++++ boot/Makefile | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/boot/Kconfig b/boot/Kconfig index 5f491625c82..b89916c109c 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -528,6 +528,26 @@ 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 + bool "Support for serving VBE OS requests (SPL)" + depends on SPL + 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. + + This is only useful if you are booting an OS direct from 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 -- 2.39.2.637.g21b0678d19-goog