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.
Ard Biesheuvel (8): Platforms/AMD/Styx/AcpiTables: fix incorrect IRQ for AHC1 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/AcpiTables/AcpiTables.inf | 1 + Platforms/AMD/Styx/AcpiTables/Dsdt.asl | 2 +- Platforms/AMD/Styx/AcpiTables/Dsdt.c | 9 +- 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 | 188 ++++ Platforms/AMD/Styx/Drivers/{SataControllerDxe => StyxSataPlatformDxe}/SataRegisters.h | 0 Platforms/AMD/Styx/Drivers/{SataControllerDxe/SataControllerDxe.inf => StyxSataPlatformDxe/StyxSataPlatformDxe.inf} | 52 +- Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc | 12 +- Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.fdf | 4 +- Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 11 +- Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf | 4 +- 21 files changed, 237 insertions(+), 3039 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} (58%)