Message ID | 20200726214408.v1.38.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=GaDEx1D/; 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 4BFQrd4Hplz9sPB for <incoming@patchwork.ozlabs.org>; Mon, 27 Jul 2020 13:53:21 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C072F82373; Mon, 27 Jul 2020 05:49:13 +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="GaDEx1D/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 514B0822E1; Mon, 27 Jul 2020 05:46:41 +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-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) (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 5A00982307 for <u-boot@lists.denx.de>; Mon, 27 Jul 2020 05:46:15 +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-oi1-x243.google.com with SMTP id u24so3324432oiv.7 for <u-boot@lists.denx.de>; Sun, 26 Jul 2020 20:46:15 -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=rB5nndDHB6mLNofIwAdCXQiuvfE4RjBSKDdnXfQOLxY=; b=GaDEx1D/zRmGs2ywijbIfI+fZjnby/0e6/S2OWLybYOlMW3Q9s6M7APWWNf5eKcDHe yjVuO9yX4qneXw7GsISNsBWgzdoUZWjsBn5xXoXgzlaSwQUoxT7lGlfyDSTvzPFhDurE Jp4aWh7fW2aqnRsbo4FmBX4rMex3tbGTi8TiY= 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=rB5nndDHB6mLNofIwAdCXQiuvfE4RjBSKDdnXfQOLxY=; b=D9c4N/gxzkoG99ocZDskBU/wo1Z3DFUhhWitViUPyGuCF8TdTzEynlvd0CMyUa2NSj 05llsZPuUvfTSbA2832CHTdHBRCqIjNAIlJdUkRc/7cWVEMTpzOhulhy0kaLcXzAHchT EneBEYORX9Shp7vqlpAuitftroB0dQLTdnBFCESSdy2DSz5BBhb3jTJQhH5wxPE92nJe 9mZHT049Rzo6oeFpJ+RP8tc2UzsvCMx0WaBb9jENBo7E8IRo5YeAvKfUTknIsfSGXRvJ eXEgCP33z3NkNweOvObVC+5jYeMxmqE5UVJW9B2Obo/Q+egxQtK24KRcQLrxyuVWdn2C LBvQ== X-Gm-Message-State: AOAM530LFcehylKEVPZmcpDYuWFMdziPeMpI5c9Tl4sxJ+AlfBDt8V1t WzAVUlrKAJOcg7uVb4VMK1jCgQq0ndoNNQ== X-Google-Smtp-Source: ABdhPJwTMCeVUmLYR5Zdq3dGR1sitrED2WIUg7pG85Y+wdW6A8/bxhta2lsLiF4Ade7TPqyYqPQU4Q== X-Received: by 2002:aca:d612:: with SMTP id n18mr15999498oig.46.1595821574131; Sun, 26 Jul 2020 20:46:14 -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 p64sm1808996oih.39.2020.07.26.20.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jul 2020 20:46:13 -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>, Simon Glass <sjg@chromium.org> Subject: [PATCH v1 38/54] x86: fsp: Update the FSP API with the end-firmware method Date: Sun, 26 Jul 2020 21:45:10 -0600 Message-Id: <20200726214408.v1.38.Ie333ce385111e0f6aff34920acf69bd06f1d053a@changeid> X-Mailer: git-send-email 2.28.0.rc0.142.g3c755180ce-goog In-Reply-To: <20200727034526.1461514-1-sjg@chromium.org> References: <20200727034526.1461514-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
|
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> --- arch/x86/include/asm/fsp/fsp_api.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)