From: Reza Jelveh <[email protected]>

Edk2 maintainers reached the consensus that SataControllerDxe was
inherently platform specific, for which reason it was not appropriate for
either PcAtChipsetPkg nor MdeModulePkg. Hence, if OvmfPkg wanted to use
it, it should either reference it directly from under DuetPkg, or copy it.

Given that DuetPkg is another "leaf" platform in edk2, and that in the
upcoming patches we'll actually modify the driver, the ultimate decision
(reached months ago on the list, after Reza's v2 posting) is that OvmfPkg
shall copy the driver.

This patch does that; the only difference being a fresh FILE_GUID in the
INF file.

Cc: Alexander Graf <[email protected]>
Cc: Reza Jelveh <[email protected]>
Cc: Jordan Justen <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Gabriel L. Somlo <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Reza Jelveh <[email protected]>
[[email protected]: updated commit message, generated fresh FILE_GUID]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
---
 {DuetPkg => OvmfPkg}/SataControllerDxe/SataControllerDxe.inf | 2 +-
 {DuetPkg => OvmfPkg}/SataControllerDxe/SataController.h      | 0
 {DuetPkg => OvmfPkg}/SataControllerDxe/ComponentName.c       | 0
 {DuetPkg => OvmfPkg}/SataControllerDxe/SataController.c      | 0
 4 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/DuetPkg/SataControllerDxe/SataControllerDxe.inf 
b/OvmfPkg/SataControllerDxe/SataControllerDxe.inf
similarity index 91%
copy from DuetPkg/SataControllerDxe/SataControllerDxe.inf
copy to OvmfPkg/SataControllerDxe/SataControllerDxe.inf
index b3b37dd..4231206 100644
--- a/DuetPkg/SataControllerDxe/SataControllerDxe.inf
+++ b/OvmfPkg/SataControllerDxe/SataControllerDxe.inf
@@ -16,7 +16,7 @@
 [Defines]
   INF_VERSION                    = 0x00010005
   BASE_NAME                      = SataController
-  FILE_GUID                      = 8F4CD826-A5A0-4e93-9522-CFB0AB72926C
+  FILE_GUID                      = 021722D8-522B-4079-852A-FE44C2C13F49
   MODULE_TYPE                    = UEFI_DRIVER
   VERSION_STRING                 = 1.0
   ENTRY_POINT                    = InitializeSataControllerDriver
diff --git a/DuetPkg/SataControllerDxe/SataController.h 
b/OvmfPkg/SataControllerDxe/SataController.h
similarity index 100%
copy from DuetPkg/SataControllerDxe/SataController.h
copy to OvmfPkg/SataControllerDxe/SataController.h
diff --git a/DuetPkg/SataControllerDxe/ComponentName.c 
b/OvmfPkg/SataControllerDxe/ComponentName.c
similarity index 100%
copy from DuetPkg/SataControllerDxe/ComponentName.c
copy to OvmfPkg/SataControllerDxe/ComponentName.c
diff --git a/DuetPkg/SataControllerDxe/SataController.c 
b/OvmfPkg/SataControllerDxe/SataController.c
similarity index 100%
copy from DuetPkg/SataControllerDxe/SataController.c
copy to OvmfPkg/SataControllerDxe/SataController.c
-- 
1.8.3.1


_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to