From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.781.1588970741878900301 for ; Fri, 08 May 2020 13:45:42 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: samer.el-haj-mahmoud@arm.com) 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 31E091FB; Fri, 8 May 2020 13:45:40 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CE2BF3F305; Fri, 8 May 2020 13:45:39 -0700 (PDT) From: "Samer El-Haj-Mahmoud" To: devel@edk2.groups.io Cc: Pete Batard , Leif Lindholm , Ard Biesheuvel , Andrei Warkentin , Jared McNeill Subject: [edk2-platform][PATCH v1 0/6] Add Broadcom GENET driver for RPi4 Date: Fri, 8 May 2020 16:45:32 -0400 Message-Id: <20200508204538.15650-1-Samer.El-Haj-Mahmoud@arm.com> X-Mailer: git-send-email 2.17.1 This series adds SNP support for Broadcom GENET on the RPi4 Cc: Pete Batard Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Andrei Warkentin Cc: Jared McNeill Ard Biesheuvel (1): Platform/RaspberryPi: set DMA translation for BCM Genet driver Samer El-Haj-Mahmoud (5): Silicon/Broadcom: Add BcmGenetPlatformDevice protocol Silicon/Broadcom: BcmGenetDxe : Add GENET driver Platform/RaspberryPi: Clean up PCDs out of the GENET driver Platform/RaspberryPi: Register GENET platform device protocol Platform/RaspberryPi: Remove PlatformPcdLib Silicon/Broadcom/Bcm27xx/Bcm27xx.dec | 2 + Silicon/Broadcom/Drivers/Net/BcmNet.dec | 8 +- Platform/RaspberryPi/RPi4/RPi4.dsc | 7 +- .../RaspberryPi/AcpiTables/AcpiTables.inf | 2 +- .../Drivers/ConfigDxe/ConfigDxe.inf | 29 +- .../Library/PlatformPcdLib/PlatformPcdLib.inf | 43 - .../Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf | 35 +- .../Include/IndustryStandard/Bcm2711.h | 3 + .../Drivers/Net/BcmGenetDxe/GenericPhy.h | 106 +++ .../Drivers/Net/BcmGenetDxe/GenetUtil.h | 351 ++++++++ .../Broadcom/Drivers/Net/Include/Net/Genet.h | 21 - .../Include/Protocol/BcmGenetPlatformDevice.h | 24 + .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 108 ++- .../Library/PlatformPcdLib/PlatformPcdLib.c | 45 - .../Drivers/Net/BcmGenetDxe/ComponentName.c | 198 ++++ .../Drivers/Net/BcmGenetDxe/DriverBinding.c | 314 +++++++ .../Drivers/Net/BcmGenetDxe/GenericPhy.c | 399 +++++++++ .../Broadcom/Drivers/Net/BcmGenetDxe/Genet.c | 114 --- .../Drivers/Net/BcmGenetDxe/GenetUtil.c | 773 ++++++++++++++++ .../Drivers/Net/BcmGenetDxe/SimpleNetwork.c | 843 ++++++++++++++++++ Platform/RaspberryPi/AcpiTables/Dsdt.asl | 2 +- 21 files changed, 3162 insertions(+), 265 deletions(-) delete mode 100644 Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.inf create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/GenericPhy.h create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/GenetUtil.h delete mode 100644 Silicon/Broadcom/Drivers/Net/Include/Net/Genet.h create mode 100644 Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatformDevice.h delete mode 100644 Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.c create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/ComponentName.c create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/DriverBinding.c create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/GenericPhy.c delete mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.c create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/GenetUtil.c create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/SimpleNetwork.c -- 2.17.1