From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mx.groups.io with SMTP id smtpd.web11.6519.1580735652376295222 for ; Mon, 03 Feb 2020 05:14:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=S03FzO9F; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.221.67, mailfrom: pete@akeo.ie) Received: by mail-wr1-f67.google.com with SMTP id t2so18094053wrr.1 for ; Mon, 03 Feb 2020 05:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ztz7Tax+ebYTMiuwKLLUW0RtU1/xJIHvMoJHWU3eo78=; b=S03FzO9FD86WBOYsjIiww+lfzavEFXWxSYjC+2gObgEDk6VT1N9Y60yGWHv3d7rKFL RDGw0aOTvA4NBYfF8B4I7bm+E6Nn0sJXF10WCKVgtLbOd8GoCcAZjbfpq5oEencOQwmH uZ+9+RwgDbk3hszgpWn1zuqdclP8aKhGOKEVXfuuKmNG4NncjdWFokKgfwvkcn+X2bIj PfSqodnjDU5FmR4B13Romv+21pmqr9SMizsqUC1JTX9d2Gzx0g69QMatGiSMf/Fs7RI/ 5/KTh2RHkKl5a3+oAB5cKZrefdc6xjY9ewPHID3D/ylMXZYa3li66WHW0R2t3arHHAvb Refw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ztz7Tax+ebYTMiuwKLLUW0RtU1/xJIHvMoJHWU3eo78=; b=eIYBeWWCORaRBqhhJ0LvcpXF48aRkN1ofYsg+iptE5SoQq9RVfR6iFDVnNqCrn01bx bGzj6ygum0fg6MOAHkdtIjJ++MGJe5T8ZAQxNNFXpeJ1eSTQPKFxnfTN5jG/9yVs+UeC joXKxe4rpr9ifwxC3ac2PuhJNSTnf1sfvHqkmfS7oA+pi2jhD/QX3TvQSmvbd/9roLQg Nske/iyWz2Wr0uyr78uazJB9Kb4lEnvUIeyhb9gloEF4Stl5t5BCjuQmIHQ2SYdc8vrs erubaa0r2TGBlKISfxPgUXreYOxcCIJwGGwAEjuSqB2GyP7JTngt80VDrZBOVJKTzBhw wJAw== X-Gm-Message-State: APjAAAW6UQaYlgcJr37p2andrkappKnMGsH6rH6thBCPfNPnlUREbj16 sJNJRcavqchcTNg+Garo2y0dt4GTc4Y= X-Google-Smtp-Source: APXvYqwGL2QRQhET7dDHRV3mgpp4eRAvPVxSQbgAKaOuELQHThdEfcHo5sTyvtPH9zn7JyWg3BVr+g== X-Received: by 2002:a5d:6144:: with SMTP id y4mr15220546wrt.15.1580735650750; Mon, 03 Feb 2020 05:14:10 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.49.247]) by smtp.gmail.com with ESMTPSA id k10sm1176950wrd.68.2020.02.03.05.14.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Feb 2020 05:14:09 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif@nuviainc.com, philmd@redhat.com, lintonrjeremy@gmail.com Subject: [edk2-platforms][PATCH v3 0/3] Platform/RPi4: Add Genet network driver stub Date: Mon, 3 Feb 2020 13:13:55 +0000 Message-Id: <20200203131358.16796-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Changes from v2: * Remove #if (FixedPcdGet64 (PcdBcmGenetRegistersAddress) != 0) check Jeremy Linton (2): Silicon/Broadcom/Net: Add Genet stub driver to setup MAC Platform/RPi4: Enable Broadcom Genet stub driver Pete Batard (1): Platform/RPi: Add PlatformPcdLib to set the Genet MAC address Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.c | 45 ++++++++ Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.inf | 43 ++++++++ Platform/RaspberryPi/RPi4/RPi4.dsc | 5 + Platform/RaspberryPi/RPi4/RPi4.fdf | 1 + Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf | 40 +++++++ Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.c | 114 ++++++++++++++++++++ Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.h | 20 ++++ Silicon/Broadcom/Drivers/Net/BcmNet.dec | 22 ++++ 8 files changed, 290 insertions(+) create mode 100644 Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.c create mode 100644 Platform/RaspberryPi/Library/PlatformPcdLib/PlatformPcdLib.inf create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.c create mode 100644 Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.h create mode 100644 Silicon/Broadcom/Drivers/Net/BcmNet.dec -- 2.21.0.windows.1