Skip to content

Commit

Permalink
Platform/RPi4: Enable Broadcom Genet stub driver
Browse files Browse the repository at this point in the history
This adds the required references to use the Genet stub driver in
order to dynamically populate the MAC address for OS consumption.

Signed-off-by: Pete Batard <pete@akeo.ie>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
  • Loading branch information
jlinton authored and Ard Biesheuvel committed Feb 8, 2020
1 parent 885a686 commit 3f0d14b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Platform/RaspberryPi/RPi4/RPi4.dsc
Expand Up @@ -402,6 +402,7 @@
gRaspberryPiTokenSpaceGuid.PcdExtendedMemoryBase|0x40000000
gBcm27xxTokenSpaceGuid.PcdBcm27xxRegistersAddress|0xfc000000
gBcm283xTokenSpaceGuid.PcdBcm283xRegistersAddress|0xfe000000
gBcmNetTokenSpaceGuid.PcdBcmGenetRegistersAddress|0xfd580000

# PCIe specific addresses
gBcm27xxTokenSpaceGuid.PcdBcm27xxPciRegBase|0xfd500000
Expand Down Expand Up @@ -648,6 +649,10 @@
# Networking stack
#
!include NetworkPkg/Network.dsc.inc
Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf {
<LibraryClasses>
NULL|Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.inf
}

#
# RNG
Expand Down
1 change: 1 addition & 0 deletions Platform/RaspberryPi/RPi4/RPi4.fdf
Expand Up @@ -269,6 +269,7 @@ READ_LOCK_STATUS = TRUE
# Networking stack
#
!include NetworkPkg/Network.fdf.inc
INF Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf

#
# RNG
Expand Down

0 comments on commit 3f0d14b

Please sign in to comment.