From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.groups.io with SMTP id smtpd.web12.13818.1576256840115254129 for ; Fri, 13 Dec 2019 09:07:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=IDWPfZLu; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.221.52, mailfrom: pete@akeo.ie) Received: by mail-wr1-f52.google.com with SMTP id t2so233969wrr.1 for ; Fri, 13 Dec 2019 09:07:19 -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=JuJjl+PYJa99GdDToKycVSvJVDanqp/fQ8yNxq3a+N8=; b=IDWPfZLunXlYLxjaoEtoXYRT8SPgx7xxXoiO7V0oKjWlKLJ8lbs/Yt1IvqvtzUonPz UCkeq2Y9ILzNAmVOmbrD+NAB149RNRlQZ5NJkWiiba4jtD8XSqAXSPKrW8PvXpgPtc50 jXSGrqbRWbFK+utA1XzKtTnqXRCbsD/nHpzCSDUVG6RbGbJn9BpjtDSrjS7kQ+wS/Slc IFOd/Zs+jdBMMRsXM9M7Kep7m2cGWI+Y+W3mzQfm4s3A/XoaTopQZ4IvxoHP9kUHgJpl FCbY3j/ri08iJn+9fVMQRuxmtVAazOwGPdCOjd1/2QkMW7Hm+l+t0eDEfTzlkvFntNxr ZglA== 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=JuJjl+PYJa99GdDToKycVSvJVDanqp/fQ8yNxq3a+N8=; b=kB5rL4mGGTkt3EvkrjRVgtOe4HIWMRKH84MDLRMjGZfsAuh/ZnvSjM4HptWJXp6+WG pZJ113u30F5i0R2HLUd0+0qQOU1Qcooj6lvUcQu9dhdDMQ/4dccez8xyc+cN/fHKsJAv qHMsWapya3KBs/qdmVu2IcTM3tXEA5xlBdkeS40EwkcejJeMMP8Xvc+zjUAD6GzWiG0D Rje5gSCpDxM5wV32xyBJJ7l7TCn5K7XQNbSJHy9Z0/NrPWlq2jlB3B5BkovsrDH0Wrc6 WuxgdvPGCFeuZ2swL6m5zJnaIggymQZ56aF36cLhHQjb/Yw2w/l2g43hy3lHUIL71NnJ 6dVQ== X-Gm-Message-State: APjAAAUMaXpqar80PhMtWIAxNX2Ew5RZDTdcrMde3pprb5Ddj36q6WUu Uwvxygee/kcy9//PQ5rfWnqacfFX6+ZtmQ== X-Google-Smtp-Source: APXvYqzwgJLJjxdNVuZdFAOXtgSuqQ6hUxoH8HN9D40Ylv1Cs7xU/MuifdmJS3FaiyGolohT7sqjmg== X-Received: by 2002:adf:9104:: with SMTP id j4mr14016272wrj.221.1576256837508; Fri, 13 Dec 2019 09:07:17 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.45.230]) by smtp.gmail.com with ESMTPSA id o66sm7204203wmo.20.2019.12.13.09.07.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Dec 2019 09:07:16 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, philmd@redhat.com, lintonrjeremy@gmail.com Subject: [edk2-platforms][PATCH v2 0/4] Platform/RPi4: Add PCIe and xHCI support Date: Fri, 13 Dec 2019 17:07:00 +0000 Message-Id: <20191213170704.8120-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 (https://edk2.groups.io/g/devel/message/52160 - 52164): * Ensure that read/write accesses are serialized in PciSegmentLib. * Flesh out commit messages. * Minor comments and code updates for whitespaces & capitalization. Jeremy Linton (4): Silicon/Bcm27xx: Add PCIe constants to Bcm2711.h Silicon/Bcm27xx: Add segment library to handle nonstandard ECAM Silicon/Bcm27xx: Add PCIe host bridge config library Platform/RPi4: Build the PCIe and xHCI drivers into the firmware Platform/RaspberryPi/RPi4/RPi4.dsc | 29 +- Platform/RaspberryPi/RPi4/RPi4.fdf | 10 +- Platform/RaspberryPi/RPi4/Readme.md | 23 +- Silicon/Broadcom/Bcm27xx/Bcm27xx.dec | 4 + Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h | 71 + Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciHostBridgeLib/Bcm2711PciHostBridgeLib.c | 193 +++ Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciHostBridgeLib/Bcm2711PciHostBridgeLib.inf | 51 + Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciHostBridgeLib/Bcm2711PciHostBridgeLibConstructor.c | 235 ++++ Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciSegmentLib/PciSegmentLib.c | 1445 ++++++++++++++++++++ Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciSegmentLib/PciSegmentLib.inf | 35 + 10 files changed, 2078 insertions(+), 18 deletions(-) create mode 100644 Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciHostBridgeLib/Bcm2711PciHostBridgeLib.c create mode 100644 Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciHostBridgeLib/Bcm2711PciHostBridgeLib.inf create mode 100644 Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciHostBridgeLib/Bcm2711PciHostBridgeLibConstructor.c create mode 100644 Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciSegmentLib/PciSegmentLib.c create mode 100644 Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciSegmentLib/PciSegmentLib.inf -- 2.21.0.windows.1