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.11801.1579866865547147408 for ; Fri, 24 Jan 2020 03:54:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=qahZzjmz; 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 z7so1608763wrl.13 for ; Fri, 24 Jan 2020 03:54:25 -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=+rpyHsKq3myE5oqYxcgK/C5WFBhyFFyDEBo4jlPgbEQ=; b=qahZzjmzsKF0UyQoOQda2SeJ87Y6qqDEWl9npI/h1sijO913JPEzzwEv1MWV8jlKi4 S7S3R2QExrF+9kbTd9nYO4iyh7cxlsJKuyvC2MJjymWPhskNy9hRdWGQpXubINf7SVbs q6sRFmWI2KvdAlTrQv1MtwaJXG+MRDTKbRtcVl8wjjFoBO/NhNHqZn+q9G7afKgl1494 3nd/mmaJ1XQpxvml2QhlHwITXDDRic54tE1mKQdoJj3CTsBwWgv9napuRDXRvegRrExO 9+VcD+DL5rWaZd5tz752j6z/Xwji+lICNtrr3gXRcYlxhgF9GZ5833Jq4fQsvY1eMCTt AU5Q== 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=+rpyHsKq3myE5oqYxcgK/C5WFBhyFFyDEBo4jlPgbEQ=; b=Iw7wCL2bXr+B6MsPXoBfow1vsRl0QUMw2P9ow753I0OxjQWsOL7RRlYeQ8DhKCMmRZ AFY7/+5AJsbETg3L4HkF676n74WUKII9TvSmEHIraLQKB7H+nhG1Un/jJdzg/fAtjulI UZbrPrUhSvZ1Ks3ZgSWuv9Yts6SSWDoq3hHQF391O02N741GL4UxfU36ljhNhjdFjFha OkJcG3SkRVYEBfurvVm8GFLx/OL/by1jZ03BlN/sg+eoIadpGID4+dwW4Lrf0NHxurN3 AqN6c+R9gwCqAWBi4NeSdA7qF3zsrKsTjyAlFjBnyciKMd5fzZev7NYjUoIYVTjz4JPS u90g== X-Gm-Message-State: APjAAAVNmNL1o2eUi8YXbCHa+jN1P4VWGN+aUAIm3+KM7oSr3Del/wvp EUD+/ORj4ji5kEn1B+6S/ETvbZOSacs= X-Google-Smtp-Source: APXvYqw8RrnI0Vk7p7B+VOX5PyJm6eqnSYpvPrrxtmf3kw+iuWiE949bgpTsttyDpyuK+/+p7tZI1Q== X-Received: by 2002:a5d:6406:: with SMTP id z6mr3941471wru.294.1579866863870; Fri, 24 Jan 2020 03:54:23 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.49.247]) by smtp.gmail.com with ESMTPSA id p17sm7003840wrx.20.2020.01.24.03.54.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2020 03:54:23 -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 v2 0/3] Platform/RPi4: Add Genet network driver stub Date: Fri, 24 Jan 2020 11:54:08 +0000 Message-Id: <20200124115411.9364-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Changes from v1: * Use UINT64 for PcdBcmGenetRegistersAddress * Use PcdSet64S () * Remove PlatformPcdLibDestructor () * Reference PcdLib library class and drop the gPcdProtocolGuid Depex Regards, /Pete 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 | 51 +++++++++ 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, 296 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