Message ID | 20200906154340.v3.40.Ie333ce385111e0f6aff34920acf69bd06f1d053a@changeid |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: 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=SeH4XWPp; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bl4rD0X98z9sSn for <incoming@patchwork.ozlabs.org>; Mon, 7 Sep 2020 07:51:55 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7FDEF824B1; Sun, 6 Sep 2020 23:45:26 +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="SeH4XWPp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ADF1682445; Sun, 6 Sep 2020 23:44:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 4EA9C82423 for <u-boot@lists.denx.de>; Sun, 6 Sep 2020 23:44:53 +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-io1-xd42.google.com with SMTP id u6so2281130iow.9 for <u-boot@lists.denx.de>; Sun, 06 Sep 2020 14:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hiEwZuWH3El0gSiGxLVoUq0FHxMjmN8NGk7kZRaTNBE=; b=SeH4XWPpa4eQKBXiHA40OeQ7Q0aEa5+xSZsd79GPZFcrstexcyCZPrWIeaF90kuLxm XCjeA6IQjKnlgIfTb108QaQF2NJsUNuqCRhQ8GtWmX+jtpNL5ufY01BQin2FEaKNk7SH 5QaOtQR8nfS9/rjNCQGicDAwwKk6kDfcDVQ7A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hiEwZuWH3El0gSiGxLVoUq0FHxMjmN8NGk7kZRaTNBE=; b=oSgKJ4qsvrmWNS7P59xNQqyq5EPCFSDG+eYJMIBErUuG2BGakwiKKQ3X83KcXqwwvI /dz1ZYioim2vXOHPgww851kEKeWzLyWbMo0HnWf0NUYfFAd5re58GNeB6yyystO1BkNH YoF13dBSL5nE8IXIjSNmrskCFh0+g20FjYztKkbyMg39hA2y17tljin+MtQpAW9PK4+C zuoULVAJuOFMp9uJroga0YyIeeUU3xU2nkpkYJd/TEXeTjocMQCif7aCfbtyrCpr8hKA 7wJRL45ahOo1Xnmpt69v6TtsheHWVBvJ+ZvfgpbiWq3WX27aUEhhcutQQrTA/mGJpCji lg6A== X-Gm-Message-State: AOAM533WRLlk7MnjgxrurzveTZhYru7dX7WEi9ro43MDbwsio/1//BrI HDPWl5mnQl0wo3c9T1s1R/d/qoC5WXKeIt/R X-Google-Smtp-Source: ABdhPJyfEwcrTen12E3uweRb+Y3vEhJg5p7E00lb1iWKIsuvseaFXGUz5T2WfFTagSWiatAt135jHA== X-Received: by 2002:a05:6638:248d:: with SMTP id x13mr8170157jat.39.1599428692165; Sun, 06 Sep 2020 14:44:52 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id w13sm6232663iox.10.2020.09.06.14.44.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Sep 2020 14:44:51 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Wolfgang Wallner <wolfgang.wallner@br-automation.com>, Bin Meng <bmeng.cn@gmail.com>, Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v3 40/57] x86: fsp: Update the FSP API with the end-firmware method Date: Sun, 6 Sep 2020 15:43:48 -0600 Message-Id: <20200906154340.v3.40.Ie333ce385111e0f6aff34920acf69bd06f1d053a@changeid> X-Mailer: git-send-email 2.28.0.526.ge36021eeef-goog In-Reply-To: <20200906214405.71632-1-sjg@chromium.org> References: <20200906214405.71632-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
dm: Add programatic generation of ACPI tables (part D)
|
expand
|
On Mon, Sep 7, 2020 at 5:44 AM Simon Glass <sjg@chromium.org> wrote: > > This new method is intended to be called when UEFI shuts down the 'boot > services', i.e. any lingering code in the boot loader that might be used > by the OS. > > Add a definition for this new method and update the comments a little. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > (no changes since v1) > > arch/x86/include/asm/fsp/fsp_api.h | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/arch/x86/include/asm/fsp/fsp_api.h b/arch/x86/include/asm/fsp/fsp_api.h index 4941e2d74f0..3a9b61903c0 100644 --- a/arch/x86/include/asm/fsp/fsp_api.h +++ b/arch/x86/include/asm/fsp/fsp_api.h @@ -10,9 +10,18 @@ enum fsp_phase { /* Notification code for post PCI enuermation */ - INIT_PHASE_PCI = 0x20, - /* Notification code before transferring control to the payload */ - INIT_PHASE_BOOT = 0x40 + INIT_PHASE_PCI = 0x20, + /* + * Notification code before transferring control to the payload. + * This is issued at the end of init before starting main(), i.e. + * the command line / boot script. + */ + INIT_PHASE_BOOT = 0x40, + /* + * Notification code before existing boot services. This is issued + * just before removing devices and booting the kernel. + */ + INIT_PHASE_END_FIRMWARE = 0xf0, }; struct fsp_notify_params {
This new method is intended to be called when UEFI shuts down the 'boot services', i.e. any lingering code in the boot loader that might be used by the OS. Add a definition for this new method and update the comments a little. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) arch/x86/include/asm/fsp/fsp_api.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)