[edk2,edk2-platforms,v4,28/31] Silicon/Hisilicon/Setup: Support SPCR table switch

Message ID 20180823160743.45638-29-ming.huang@linaro.org
State Superseded
Headers show
Series
  • Upload for D06 platform
Related show

Commit Message

Ming Huang Aug. 23, 2018, 4:07 p.m.
If install SPCR table, KVM will not output while install or boot
some OS, like ubuntu, so add SPCR switch setup item and set it
disable by default.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <ming.huang@linaro.org>

---
 Platform/Hisilicon/D06/D06.dsc | 1 +
 Platform/Hisilicon/D06/D06.fdf | 1 +
 2 files changed, 2 insertions(+)

-- 
2.18.0

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

Comments

Leif Lindholm Aug. 30, 2018, 6:52 p.m. | #1
On Fri, Aug 24, 2018 at 12:07:40AM +0800, Ming Huang wrote:
> If install SPCR table, KVM will not output while install or boot

> some OS, like ubuntu, so add SPCR switch setup item and set it

> disable by default.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ming Huang <ming.huang@linaro.org>


Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>


> ---

>  Platform/Hisilicon/D06/D06.dsc | 1 +

>  Platform/Hisilicon/D06/D06.fdf | 1 +

>  2 files changed, 2 insertions(+)

> 

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

> index fad6fcc747..e6bebfb78b 100644

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

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

> @@ -325,6 +325,7 @@

>    MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf

>    MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf

>    MdeModulePkg/Universal/SerialDxe/SerialDxe.inf

> +  EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf

>  

>    MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf

>  

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

> index 8c3f4f9932..6580a5971a 100644

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

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

> @@ -200,6 +200,7 @@ READ_LOCK_STATUS   = TRUE

>    INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf

>    INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf

>    INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf

> +  INF EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf

>  

>    INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf

>    INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf

> -- 

> 2.18.0

> 

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

Patch

diff --git a/Platform/Hisilicon/D06/D06.dsc b/Platform/Hisilicon/D06/D06.dsc
index fad6fcc747..e6bebfb78b 100644
--- a/Platform/Hisilicon/D06/D06.dsc
+++ b/Platform/Hisilicon/D06/D06.dsc
@@ -325,6 +325,7 @@ 
   MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
   MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
   MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
+  EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf
 
   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
 
diff --git a/Platform/Hisilicon/D06/D06.fdf b/Platform/Hisilicon/D06/D06.fdf
index 8c3f4f9932..6580a5971a 100644
--- a/Platform/Hisilicon/D06/D06.fdf
+++ b/Platform/Hisilicon/D06/D06.fdf
@@ -200,6 +200,7 @@  READ_LOCK_STATUS   = TRUE
   INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
   INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
   INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
+  INF EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf
 
   INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
   INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf