This series replaces the heavily modified port of the generic SATA controller driver with a thin SATA platform driver that exposes the SATA controllers as non-discoverable devices, using the latest version of the non-discoverable device series.
Changes in v3: - merged ACPI table bug fix for AHCI1 IRQ - added patch to rename SATA PCDs (#8) - incorporated missed review comments from Leif on v1 (#2)
Ard Biesheuvel (8): Platforms/AMD/Styx: split off SATA init code into StyxSataPlatformDxe driver Platforms/AMD/Overdrive: switch to generic AHCI driver Platforms/AMD/Cello: switch to generic AHCI driver Platforms/AMD/Overdrive1000: switch to generic AHCI driver Platforms/AMD/Styx/AcpiTables: enable second SATA controller Platforms/AMD/Styx/FdtDxe: enable second SATA controller Platforms/AMD/Styx: remove SataControllerDxe Platforms/AMD/Styx: rename SATA PCDs for symmetry
Platforms/AMD/Styx/AcpiTables/AcpiTables.inf | 1 + Platforms/AMD/Styx/AcpiTables/Dsdt.c | 9 +- Platforms/AMD/Styx/AmdStyx.dec | 4 +- Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc | 11 +- Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf | 4 +- Platforms/AMD/Styx/Drivers/FdtDxe/BdsLinuxFdt.c | 7 +- Platforms/AMD/Styx/Drivers/FdtDxe/FdtDxe.inf | 1 + Platforms/AMD/Styx/Drivers/SataControllerDxe/ComponentName.c | 178 ---- Platforms/AMD/Styx/Drivers/SataControllerDxe/InitController.c | 172 ---- Platforms/AMD/Styx/Drivers/SataControllerDxe/PciEmulation.c | 442 --------- Platforms/AMD/Styx/Drivers/SataControllerDxe/PciEmulation.h | 289 ------ Platforms/AMD/Styx/Drivers/SataControllerDxe/PciRootBridgeIo.c | 307 ------ Platforms/AMD/Styx/Drivers/SataControllerDxe/SataController.c | 1027 -------------------- Platforms/AMD/Styx/Drivers/SataControllerDxe/SataController.h | 555 ----------- Platforms/AMD/Styx/Drivers/StyxSataPlatformDxe/InitController.c | 189 ++++ Platforms/AMD/Styx/Drivers/{SataControllerDxe => StyxSataPlatformDxe}/SataRegisters.h | 0 Platforms/AMD/Styx/Drivers/{SataControllerDxe/SataControllerDxe.inf => StyxSataPlatformDxe/StyxSataPlatformDxe.inf} | 62 +- Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc | 14 +- Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.fdf | 4 +- Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 11 +- Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf | 4 +- 21 files changed, 245 insertions(+), 3046 deletions(-) delete mode 100644 Platforms/AMD/Styx/Drivers/SataControllerDxe/ComponentName.c delete mode 100644 Platforms/AMD/Styx/Drivers/SataControllerDxe/InitController.c delete mode 100644 Platforms/AMD/Styx/Drivers/SataControllerDxe/PciEmulation.c delete mode 100644 Platforms/AMD/Styx/Drivers/SataControllerDxe/PciEmulation.h delete mode 100644 Platforms/AMD/Styx/Drivers/SataControllerDxe/PciRootBridgeIo.c delete mode 100644 Platforms/AMD/Styx/Drivers/SataControllerDxe/SataController.c delete mode 100644 Platforms/AMD/Styx/Drivers/SataControllerDxe/SataController.h create mode 100644 Platforms/AMD/Styx/Drivers/StyxSataPlatformDxe/InitController.c rename Platforms/AMD/Styx/Drivers/{SataControllerDxe => StyxSataPlatformDxe}/SataRegisters.h (100%) rename Platforms/AMD/Styx/Drivers/{SataControllerDxe/SataControllerDxe.inf => StyxSataPlatformDxe/StyxSataPlatformDxe.inf} (53%)