Message ID | 20201211160612.1498780-2-sr@denx.de |
---|---|
State | Accepted |
Commit | 057421a5fdbe0c5a1fb3c661e3b0b56f7b7d9d08 |
Delegated to: | Daniel Schwierzeck |
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=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=0EgolYbc; 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 4CswdJ50Rtz9sSs for <incoming@patchwork.ozlabs.org>; Sat, 12 Dec 2020 03:06:28 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5AB6B8264E; Fri, 11 Dec 2020 17:06:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1607702782; bh=FXEl5bO24sb4GR2eyGlyD7zG/2s4sS3Za2CwsyiDZjM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=0EgolYbcdEWAHucdGhgSF4+Bw3mXgLe4Zu3e0QC6CDfMVUBxgzd2nQk3IvED8fp7W UXTNQt7DYiMVCaiM/Axv1mNgSDALa/yyqemlh6vXZAEP39q7wqQQpDGkU0hlCuUjhN +iyuVXVgb1b/YH1Gmb1CSTMziTMnDXukY5ZLTk+v900O/c/mLsn9KHakhoSdDq+PTq MFtZVqma5uDZBIoi/0GDCRLgArekD5NAEKDqbZTm7qMynElMB+CUWz73yojusgbmj3 9z2JIlFQwd2O3CR+NutpMKgxuEnA600UWN3Qr5L8STJxd9IrfbaKVeLR3fRcvBBlQm ff1aafWWb8j4Q== Received: by phobos.denx.de (Postfix, from userid 109) id 1BB1D82607; Fri, 11 Dec 2020 17:06:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mx2.mailbox.org (mx2a.mailbox.org [IPv6:2001:67c:2050:104:0:2:25:2]) (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 41D328240E for <u-boot@lists.denx.de>; Fri, 11 Dec 2020 17:06:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 97173A0E53; Fri, 11 Dec 2020 17:06:16 +0100 (CET) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id Jcvzy06JJ3-A; Fri, 11 Dec 2020 17:06:13 +0100 (CET) From: Stefan Roese <sr@denx.de> To: u-boot@lists.denx.de Cc: daniel.schwierzeck@gmail.com, awilliams@marvell.com, cchavva@marvell.com Subject: [PATCH v1 01/50] mips: global_data.h: Add Octeon specific data to arch_global_data struct Date: Fri, 11 Dec 2020 17:05:23 +0100 Message-Id: <20201211160612.1498780-2-sr@denx.de> In-Reply-To: <20201211160612.1498780-1-sr@denx.de> References: <20201211160612.1498780-1-sr@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: * X-Rspamd-Score: 0.69 / 15.00 / 15.00 X-Rspamd-Queue-Id: 7C780184F X-Rspamd-UID: d7dbc3 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 |
mips: octeon: Add serdes and device helper support incl. DM PCIe driver
|
expand
|
diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h index 4c30fab871..f0d3b07bf1 100644 --- a/arch/mips/include/asm/global_data.h +++ b/arch/mips/include/asm/global_data.h @@ -8,6 +8,12 @@ #define __ASM_GBL_DATA_H #include <asm/regdef.h> +#include <asm/types.h> + +struct octeon_eeprom_mac_addr { + u8 mac_addr_base[6]; + u8 count; +}; /* Architecture-specific global data */ struct arch_global_data { @@ -30,6 +36,9 @@ struct arch_global_data { #ifdef CONFIG_ARCH_MTMIPS unsigned long timer_freq; #endif +#ifdef CONFIG_ARCH_OCTEON + struct octeon_eeprom_mac_addr mac_desc; +#endif }; #include <asm-generic/global_data.h>
This will be used by the upcoming Serdes and driver code ported from the original 2013 U-Boot code to mainline. Signed-off-by: Stefan Roese <sr@denx.de> --- arch/mips/include/asm/global_data.h | 9 +++++++++ 1 file changed, 9 insertions(+)