[edk2,edk2-platforms,1/1] Hisilicon/D0x: Use unified Sm750Dxe driver binary

Message ID 1522281886-97638-1-git-send-email-heyi.guo@linaro.org
State New
Headers show
Series
  • [edk2,edk2-platforms,1/1] Hisilicon/D0x: Use unified Sm750Dxe driver binary
Related show

Commit Message

gary guo March 29, 2018, 12:04 a.m.
Sm750Dxe is a generic PCIe device driver for SM750 VGA device and it
is not necessary to maintain two different binary images for D03 and
D05 respectively.

This patch depends on another patch of unifying Sm750Dxe driver in
edk2-non-osi.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>

Signed-off-by: Yi Li <phoenix.liyi@huawei.com>

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
---
 Platform/Hisilicon/D03/D03.dsc | 2 +-
 Platform/Hisilicon/D05/D05.dsc | 2 +-
 Platform/Hisilicon/D03/D03.fdf | 2 +-
 Platform/Hisilicon/D05/D05.fdf | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.7.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Ard Biesheuvel April 19, 2018, 1:18 p.m. | #1
On 29 March 2018 at 02:04, Heyi Guo <heyi.guo@linaro.org> wrote:
> Sm750Dxe is a generic PCIe device driver for SM750 VGA device and it

> is not necessary to maintain two different binary images for D03 and

> D05 respectively.

>

> This patch depends on another patch of unifying Sm750Dxe driver in

> edk2-non-osi.

>

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Heyi Guo <heyi.guo@linaro.org>

> Signed-off-by: Yi Li <phoenix.liyi@huawei.com>

> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> Cc: Leif Lindholm <leif.lindholm@linaro.org>

> Cc: Michael D Kinney <michael.d.kinney@intel.com>


Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Pushed as a30a05ba4580a90f84c13abec4971e5ca01c6a3f

Thanks

> ---

>  Platform/Hisilicon/D03/D03.dsc | 2 +-

>  Platform/Hisilicon/D05/D05.dsc | 2 +-

>  Platform/Hisilicon/D03/D03.fdf | 2 +-

>  Platform/Hisilicon/D05/D05.fdf | 2 +-

>  4 files changed, 4 insertions(+), 4 deletions(-)

>

> diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc

> index 26081a33a00a..d7b4cf035144 100644

> --- a/Platform/Hisilicon/D03/D03.dsc

> +++ b/Platform/Hisilicon/D03/D03.dsc

> @@ -469,7 +469,7 @@ [Components.common]

>

>    Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf

>    Silicon/Hisilicon/Drivers/Smbios/AddSmbiosType9/AddSmbiosType9.inf

> -  Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf

> +  Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi.inf

>

>    Silicon/Hisilicon/Drivers/SasPlatform/SasPlatform.inf

>    Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClassDxe.inf

> diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc

> index d6febf471630..81cdc78b9468 100644

> --- a/Platform/Hisilicon/D05/D05.dsc

> +++ b/Platform/Hisilicon/D05/D05.dsc

> @@ -623,7 +623,7 @@ [Components.common]

>

>    Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf

>    Silicon/Hisilicon/Drivers/Smbios/AddSmbiosType9/AddSmbiosType9.inf

> -  Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf

> +  Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi.inf

>    Silicon/Hisilicon/Drivers/SasPlatform/SasPlatform.inf

>    MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf

>    Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClassDxe.inf

> diff --git a/Platform/Hisilicon/D03/D03.fdf b/Platform/Hisilicon/D03/D03.fdf

> index 0c843a3ce671..bc67ae70894a 100644

> --- a/Platform/Hisilicon/D03/D03.fdf

> +++ b/Platform/Hisilicon/D03/D03.fdf

> @@ -270,7 +270,7 @@ [FV.FvMain]

>    INF Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf

>    # VGA Driver

>    #

> -  INF Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf

> +  INF Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi.inf

>

>    INF Silicon/Hisilicon/Drivers/SasPlatform/SasPlatform.inf

>    INF Platform/Hisilicon/D03/Drivers/Sas/SasDxeDriver.inf

> diff --git a/Platform/Hisilicon/D05/D05.fdf b/Platform/Hisilicon/D05/D05.fdf

> index b530e8e785a4..08766a54e611 100644

> --- a/Platform/Hisilicon/D05/D05.fdf

> +++ b/Platform/Hisilicon/D05/D05.fdf

> @@ -292,7 +292,7 @@ [FV.FvMain]

>    INF Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf

>    # VGA Driver

>    #

> -  INF Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf

> +  INF Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi.inf

>    INF  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf

>    INF Silicon/Hisilicon/Drivers/SasPlatform/SasPlatform.inf

>    INF Platform/Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf

> --

> 2.7.4

>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc
index 26081a33a00a..d7b4cf035144 100644
--- a/Platform/Hisilicon/D03/D03.dsc
+++ b/Platform/Hisilicon/D03/D03.dsc
@@ -469,7 +469,7 @@  [Components.common]
 
   Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf
   Silicon/Hisilicon/Drivers/Smbios/AddSmbiosType9/AddSmbiosType9.inf
-  Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf
+  Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi.inf
 
   Silicon/Hisilicon/Drivers/SasPlatform/SasPlatform.inf
   Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClassDxe.inf
diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc
index d6febf471630..81cdc78b9468 100644
--- a/Platform/Hisilicon/D05/D05.dsc
+++ b/Platform/Hisilicon/D05/D05.dsc
@@ -623,7 +623,7 @@  [Components.common]
 
   Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf
   Silicon/Hisilicon/Drivers/Smbios/AddSmbiosType9/AddSmbiosType9.inf
-  Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf
+  Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi.inf
   Silicon/Hisilicon/Drivers/SasPlatform/SasPlatform.inf
   MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
   Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClassDxe.inf
diff --git a/Platform/Hisilicon/D03/D03.fdf b/Platform/Hisilicon/D03/D03.fdf
index 0c843a3ce671..bc67ae70894a 100644
--- a/Platform/Hisilicon/D03/D03.fdf
+++ b/Platform/Hisilicon/D03/D03.fdf
@@ -270,7 +270,7 @@  [FV.FvMain]
   INF Platform/Hisilicon/D03/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf
   # VGA Driver
   #
-  INF Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf
+  INF Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi.inf
 
   INF Silicon/Hisilicon/Drivers/SasPlatform/SasPlatform.inf
   INF Platform/Hisilicon/D03/Drivers/Sas/SasDxeDriver.inf
diff --git a/Platform/Hisilicon/D05/D05.fdf b/Platform/Hisilicon/D05/D05.fdf
index b530e8e785a4..08766a54e611 100644
--- a/Platform/Hisilicon/D05/D05.fdf
+++ b/Platform/Hisilicon/D05/D05.fdf
@@ -292,7 +292,7 @@  [FV.FvMain]
   INF Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDidVidToBmc.inf
   # VGA Driver
   #
-  INF Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf
+  INF Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi.inf
   INF  MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
   INF Silicon/Hisilicon/Drivers/SasPlatform/SasPlatform.inf
   INF Platform/Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf