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 146FDC636CC for ; Sun, 5 Feb 2023 22:39:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 79DA4859A3; Sun, 5 Feb 2023 23:39:18 +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="gjSRqj/j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B95DD8593E; Sun, 5 Feb 2023 23:38:54 +0100 (CET) Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 D4C468594B for ; Sun, 5 Feb 2023 23:38: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=sjg@chromium.org Received: by mail-il1-x134.google.com with SMTP id k12so4106334ilv.10 for ; Sun, 05 Feb 2023 14:38:49 -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=aXEXtLUs9nMHd4osJc5Ww2P2/awh8cUtYO8xYPI+NXM=; b=gjSRqj/jiEHAldJLLlsibn6gdH0Gt61wj/uRJLVBHDpdtZUxE7WXwjrJHszgt/O42p PN1jKxo8vlG9rfxXY94tSNx+vnWHMymMvUaoHsDHqlEyTUDTmN9rlwBnWMh5UN0E+K1n +gWf6n5dcEXBz3szDNmeClEFRWjJM0T8o02B0= 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=aXEXtLUs9nMHd4osJc5Ww2P2/awh8cUtYO8xYPI+NXM=; b=ol2RwuzoTSO3Z4rBZXxpTIIEVRcRdTbPu/Daya1HhVtIq/h7XXr8BBNyO9YS3I++cM Efe4NEMbEPMY4knLEbWxLQ4aOVFWz6nfYhb5d4C22gURdPhDE8JD0xhxPs0pcvzzry4E yWsB8pVYclQUGDk4RhW03vM6aionpDivleJoCZA9FCZdSpxuPjJPYMQcHMLyoGs+qlvV VQlDJHBexOd+VYGV+SmipR12VQTwmtqFcyHAMppL6eYMYQctXincdnkp5Ouagcz8S2aF lkPCr17P5ppspjWJ3xlrjg5O/hzbOhkxeTCS/m0zwp3ClTr+gL1h5uM1hPALytKUKdos ZWeQ== X-Gm-Message-State: AO0yUKWvms3XJM4nKhGq6N4wFYHPwyLCW3YySm1kt61TFUmULNSCQmES 6hAn7r2RbeNUI8aSrDhUgMWzT4poA3ydoT89 X-Google-Smtp-Source: AK7set+eUQU2+9Pz9M2EtQucd0Qq2gNoJdkP/7yoAK6nuiVkRB/3uwhze35AJjiixSeJ1HWH+uIv8A== X-Received: by 2002:a05:6e02:1d08:b0:313:8e80:a4f7 with SMTP id i8-20020a056e021d0800b003138e80a4f7mr8951701ila.7.1675636728233; Sun, 05 Feb 2023 14:38:48 -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 m40-20020a05663840a800b003b49e7d990asm2856393jam.30.2023.02.05.14.38.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:38:48 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 005/169] boot: Add Kconfigs for BOOTMETH_VBE_REQUEST Date: Sun, 5 Feb 2023 15:35:51 -0700 Message-Id: <20230205223836.231657-6-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205223836.231657-1-sjg@chromium.org> References: <20230205223836.231657-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 v1) boot/Kconfig | 13 +++++++++++++ boot/Makefile | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/boot/Kconfig b/boot/Kconfig index db6e2709c03..e89664e1233 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -509,6 +509,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 f990e66f522..69c31adb77d 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -50,7 +50,8 @@ endif obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_VBE) += 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.1.519.gcb327c4b5f-goog