From patchwork Fri May 17 16:32:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 1936563 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.a=rsa-sha256 header.s=fm1 header.b=iSdqN+pi; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=SFwodB38; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vgswp45m0z1yfq for ; Sat, 18 May 2024 02:34:02 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E7E5A884BC; Fri, 17 May 2024 18:33:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="iSdqN+pi"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="SFwodB38"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A57B9884A6; Fri, 17 May 2024 18:33:06 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from fout8-smtp.messagingengine.com (fout8-smtp.messagingengine.com [103.168.172.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B3D648849D for ; Fri, 17 May 2024 18:33:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id CE788138151F; Fri, 17 May 2024 12:33:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 17 May 2024 12:33:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1715963583; x=1716049983; bh=9juQBKxyhjgoTFpiianocmI1WldtbMpPiLI7jqsPI3Q=; b= iSdqN+pigP+7gJt79ORCO96KyVgdH6bGU4ze6Gxp5rlKZ0FTUWcxvjZ/hVPIMtBM zySguCnKUwCXY6vZPP9UJHWJ+xUReIdYeJP78UqtQlPHPNjYuuQ3oHUls1llRt7R 21cXf0FlfGKVVSj5bKmryeJoE+ZSr6ayJwrStjXQqV3nfM6W/1og5HnOHAA+a5Ze g/CG9z1/h2r0RwAOMOkutt/rKEhufFs+fcA5ATAjfy3wqkiX1XrFUUwB+BaA+K7E EJ8Osk66hL+GaUDHwuHXZFnuYSEoqM5Q5lAxTdfHFscHmn4KRL78DxamD+Gq+y+0 zZ51/rEeW0/WiINPXnEb8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715963583; x= 1716049983; bh=9juQBKxyhjgoTFpiianocmI1WldtbMpPiLI7jqsPI3Q=; b=S FwodB38OqWL9myHQrZy6U9uvi6tKP0ibrSypcjZCD/6pRVDKHwVjLm5uYWxAEhVW 9BtMys+jCmIpZ4zq5ISZAdjaQOsUO3QzrSEtGTznkaRB7pRd2m1rCxeUqu6OJA1w jVcsVlcpbhGJgT4UwX1EH7Dkb6fkOYbgdhTjerVB3nc5dq0Uj782WGZliI/uPXtk Wo4oeWihZhwyOYsTBN7k+l8UssKp6aOrYYs9JwxQ0Dcbr/TOT4a6+y2ycd7HRwbE L2xLQQrpUk/fSTJs7rXg2GlZg56LW6t7s0Cv+OmtVbc9dn0cQ/YdD73zgubMCVql 35Ol0852tNzGIhi3+A9jQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehgedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtdduudeghfeu veegffegudekjeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 May 2024 12:33:02 -0400 (EDT) From: Jiaxun Yang Date: Fri, 17 May 2024 17:32:56 +0100 Subject: [PATCH 5/7] MIPS: Add smbios_start to arch_global_data MIME-Version: 1.0 Message-Id: <20240517-mips-efi-v1-5-79096e3ca3b3@flygoat.com> References: <20240517-mips-efi-v1-0-79096e3ca3b3@flygoat.com> In-Reply-To: <20240517-mips-efi-v1-0-79096e3ca3b3@flygoat.com> To: u-boot@lists.denx.de Cc: Daniel Schwierzeck , Tom Rini , Heinrich Schuchardt , Ilias Apalodimas , Jiaxun Yang X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=685; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=N5nHCKJp6TcyM5ZIUDebRGUgyo6DEeXQ+cKkTaPZmZ0=; b=owGbwMvMwCHmXMhTe71c8zDjabUkhjT3th3B608Yyt5XPXMk/7DOLU216ancgRE/j+Xc+D3LO 93IwntxRykLgxgHg6yYIkuIgFLfhsaLC64/yPoDM4eVCWQIAxenAExE8CEjw25jDmGjF//CTQ7O yFnPs/HWrJ8/3oh/W7hxiW/AY94fwk8YGZ53S8yyvHdNLOh50QGPRLYHLNNits3QS0jNjFjew1Z 8lxkA X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 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.8 at phobos.denx.de X-Virus-Status: Clean This is necessary for SMBIOS to build on MIPS. Signed-off-by: Jiaxun Yang Acked-by: Ilias Apalodimas --- arch/mips/include/asm/global_data.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h index 147a95ecea8b..740bbcdb84e9 100644 --- a/arch/mips/include/asm/global_data.h +++ b/arch/mips/include/asm/global_data.h @@ -40,6 +40,9 @@ struct arch_global_data { #ifdef CONFIG_ARCH_OCTEON struct octeon_eeprom_mac_addr mac_desc; #endif +#ifdef CONFIG_SMBIOS + ulong smbios_start; /* Start address of SMBIOS table */ +#endif }; #include