From nobody Tue Feb 10 11:32:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+58904+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58904+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588970744; cv=none; d=zohomail.com; s=zohoarc; b=ILXXtU7WR1M9h9bXZEo14JPOICrvVTbacrM9VT0KEPrUZuFWkUaSmzfBoKJ+v9QnaQvszc/nc7wqzr+M4R+Iif4trFfvMbEQJxOKYEsD04lKp2My2jZp15S1lRshTonsWKAktH6yvyARzgz11pMgRWLVyeiz+C1qcC9VkBptMQk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588970744; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=1RsK3ZXtIPwuGnkVbFuivkx9JHyhQkUOK+VT8IUQh54=; b=eoDUYVQLFkpx2sihVwg9YPUjPcpsnsHcrkap4ttQZHlqYXfavxgNaVjJ5fy/UTGTx/q/vA/a4Y4++MoQRY2I9fIpUt3yvQLElTEn+X8UaiB3h+Xz63uMSFYhGVub/0b0DeZUsLORnK6H0m4MM9d7zwYPk5MwlMMZGUsoa7VbndI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58904+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588970744839583.5452623251557; Fri, 8 May 2020 13:45:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Z6gTYY1788612xPR1rbfpyy7; Fri, 08 May 2020 13:45:44 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.780.1588970741878710591 for ; Fri, 08 May 2020 13:45:42 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 842C81045; Fri, 8 May 2020 13:45:40 -0700 (PDT) X-Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4358F3F305; Fri, 8 May 2020 13:45:40 -0700 (PDT) From: "Samer El-Haj-Mahmoud" To: devel@edk2.groups.io Cc: Pete Batard , Leif Lindholm , Ard Biesheuvel , Andrei Warkentin Subject: [edk2-devel] [edk2-platform][PATCH v1 1/6] Silicon/Broadcom: Add BcmGenetPlatformDevice protocol Date: Fri, 8 May 2020 16:45:33 -0400 Message-Id: <20200508204538.15650-2-Samer.El-Haj-Mahmoud@arm.com> In-Reply-To: <20200508204538.15650-1-Samer.El-Haj-Mahmoud@arm.com> References: <20200508204538.15650-1-Samer.El-Haj-Mahmoud@arm.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,samer.el-haj-mahmoud@arm.com X-Gm-Message-State: MPLbVvV3s9VvEdGTxKoNSwhwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588970744; bh=SXQkcLDXj+CFkvesF1iJf1TPMJw6HBFjxKz1O3BWiHE=; h=Cc:Date:From:Reply-To:Subject:To; b=lRFdx9dIbwo5tMnxqBaJywni5/2R1R/fF445u3oumm9qQuHOHFGr0/KoFvH3M0vCxpL /WDY4+Bh7a9gHmFf008I/N0E5izl3Zsi7kCuGMV2sSK8haV5d9WabkaUE75xTlbY/l4Xe H1sH/5jlbWaeI3fOqZ727AWO7u1BsHYylvo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add BcmGenetPlatformDevice definition for GENET. This protocol will be used to register GENET platform device that is on a non-discoverable bus. Cc: Pete Batard Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Andrei Warkentin Authored-by: Ard Biesheuvel Signed-off-by: Samer El-Haj-Mahmoud --- Silicon/Broadcom/Drivers/Net/BcmNet.dec | = 4 ++++ Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatformDevice.h | 2= 4 ++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/Silicon/Broadcom/Drivers/Net/BcmNet.dec b/Silicon/Broadcom/Dri= vers/Net/BcmNet.dec index 4a55946e8f80..fda3caf0b4ef 100644 --- a/Silicon/Broadcom/Drivers/Net/BcmNet.dec +++ b/Silicon/Broadcom/Drivers/Net/BcmNet.dec @@ -1,6 +1,7 @@ ## @file # # Copyright (c) 2020, Pete Batard +# Copyright (c) 2020, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -18,6 +19,9 @@ [Guids] gBcmNetTokenSpaceGuid =3D {0x12b97d70, 0x9149, 0x4c2f, {0x82, 0xd5, 0xad= , 0xa9, 0x1e, 0x92, 0x75, 0xa1}} =20 +[Protocols] + gBcmGenetPlatformDeviceProtocolGuid =3D {0x5e485a22, 0x1bb0, 0x4e22, {0x= 85, 0x49, 0x41, 0xfc, 0xec, 0x85, 0xdf, 0xd3}} + [PcdsFixedAtBuild] gBcmNetTokenSpaceGuid.PcdBcmGenetRegistersAddress|0x0|UINT64|0x00000001 =20 diff --git a/Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatform= Device.h b/Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatformDe= vice.h new file mode 100644 index 000000000000..3af4f4aec622 --- /dev/null +++ b/Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatformDevice.h @@ -0,0 +1,24 @@ +/** @file + + Copyright (c) 2020, ARM Limited. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef BCM_GENET_PLATFORM_DEVICE_H +#define BCM_GENET_PLATFORM_DEVICE_H + +#include + +#define BCM_GENET_PLATFORM_DEVICE_PROTOCOL_GUID \ + {0x5e485a22, 0x1bb0, 0x4e22, {0x85, 0x49, 0x41, 0xfc, 0xec, 0x85, 0xdf, = 0xd3}} + +typedef struct { + EFI_PHYSICAL_ADDRESS BaseAddress; + EFI_MAC_ADDRESS MacAddress; +} BCM_GENET_PLATFORM_DEVICE_PROTOCOL; + +extern EFI_GUID gBcmGenetPlatformDeviceProtocolGuid; + +#endif --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#58904): https://edk2.groups.io/g/devel/message/58904 Mute This Topic: https://groups.io/mt/74082581/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-