[edk2] [RFT PATCH 0/3] ArmJunoPkg: move to generic PCI support code

Ard Biesheuvel posted 3 patches 7 years, 7 months ago
Failed in applying to current master (apply log)
ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c                                          |  28 +-
ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf                                        |   3 +-
ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxeInternal.h                                  |   5 -
ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c                                        | 596 ----------------
ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.h                                        | 284 --------
ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciRootBridgeIo.c                                     | 299 --------
ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.c                                 | 199 ------
ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.h                                 | 324 ---------
ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf                            |  76 --
ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeResourceAllocation.c               | 642 -----------------
ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciRootBridge.c                                 | 748 --------------------
ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.c                      | 190 +++++
ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.inf                    |  75 ++
ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.c |  39 +-
ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.h |  20 +-
15 files changed, 323 insertions(+), 3205 deletions(-)
delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c
delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.h
delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciRootBridgeIo.c
delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.c
delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.h
delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf
delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeResourceAllocation.c
delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciRootBridge.c
create mode 100644 ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.c
create mode 100644 ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.inf
rename ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.c (84%)
rename ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.h (82%)
[edk2] [RFT PATCH 0/3] ArmJunoPkg: move to generic PCI support code
Posted by Ard Biesheuvel 7 years, 7 months ago
This moves the OHCI/EHCI PCI 'emulation' and the PCIe host bridge driver
to generic code.

The diffstat says it all.

Ard Biesheuvel (3):
  ArmPlatformPkg/ArmJunoDxe: use the generic non-discoverable device
    support
  ArmPlatformPkg/ArmJunoPkg: add PciHostBridgeLib implementation
  ArmPlatformPkg/ArmJunoPkg: remove PCI host bridge driver

 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c                                          |  28 +-
 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf                                        |   3 +-
 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxeInternal.h                                  |   5 -
 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c                                        | 596 ----------------
 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.h                                        | 284 --------
 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciRootBridgeIo.c                                     | 299 --------
 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.c                                 | 199 ------
 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.h                                 | 324 ---------
 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf                            |  76 --
 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeResourceAllocation.c               | 642 -----------------
 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciRootBridge.c                                 | 748 --------------------
 ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.c                      | 190 +++++
 ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.inf                    |  75 ++
 ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.c |  39 +-
 ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.h |  20 +-
 15 files changed, 323 insertions(+), 3205 deletions(-)
 delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c
 delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.h
 delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciRootBridgeIo.c
 delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.c
 delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.h
 delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf
 delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeResourceAllocation.c
 delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciRootBridge.c
 create mode 100644 ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.c
 create mode 100644 ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.inf
 rename ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.c (84%)
 rename ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.h (82%)

-- 
2.9.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [RFT PATCH 0/3] ArmJunoPkg: move to generic PCI support code
Posted by Ard Biesheuvel 7 years, 7 months ago
On 30 March 2017 at 11:45, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> This moves the OHCI/EHCI PCI 'emulation' and the PCIe host bridge driver
> to generic code.
>
> The diffstat says it all.
>

Code can be found here

git://git.linaro.org/people/ard.biesheuvel/uefi-next.git arm-cleanup-combined

with the OpenPlatformPkg dependencies in

git://git.linaro.org/uefi/OpenPlatformPkg.git arm-platform-cleanup


> Ard Biesheuvel (3):
>   ArmPlatformPkg/ArmJunoDxe: use the generic non-discoverable device
>     support
>   ArmPlatformPkg/ArmJunoPkg: add PciHostBridgeLib implementation
>   ArmPlatformPkg/ArmJunoPkg: remove PCI host bridge driver
>
>  ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c                                          |  28 +-
>  ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf                                        |   3 +-
>  ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxeInternal.h                                  |   5 -
>  ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c                                        | 596 ----------------
>  ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.h                                        | 284 --------
>  ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciRootBridgeIo.c                                     | 299 --------
>  ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.c                                 | 199 ------
>  ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.h                                 | 324 ---------
>  ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf                            |  76 --
>  ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeResourceAllocation.c               | 642 -----------------
>  ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciRootBridge.c                                 | 748 --------------------
>  ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.c                      | 190 +++++
>  ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.inf                    |  75 ++
>  ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.c |  39 +-
>  ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.h |  20 +-
>  15 files changed, 323 insertions(+), 3205 deletions(-)
>  delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c
>  delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.h
>  delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciRootBridgeIo.c
>  delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.c
>  delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridge.h
>  delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf
>  delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciHostBridgeResourceAllocation.c
>  delete mode 100644 ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/PciRootBridge.c
>  create mode 100644 ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.c
>  create mode 100644 ArmPlatformPkg/ArmJunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.inf
>  rename ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.c (84%)
>  rename ArmPlatformPkg/ArmJunoPkg/{Drivers/PciHostBridgeDxe => Library/JunoPciHostBridgeLib}/XPressRich3.h (82%)
>
> --
> 2.9.3
>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel