diff options
author | Wonkyu Kim <wonkyu.kim@intel.com> | 2018-10-10 11:13:08 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2018-10-15 22:51:34 +0000 |
commit | af89f49b83260a04dece84b34e97560fb85d29ae (patch) | |
tree | e862dc34a02fe0866f0c8ec0d03574da345a4ae6 | |
parent | f7b57d0b78e0ecb031e91f9603b4ceb8f3dcf3ec (diff) |
tianocore : Enable Serial Debug for UEFI payload Debug build
Change-Id: I29953250ca278d5b1977be3763359df5110f67c7
Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com>
Reviewed-on: https://review.coreboot.org/29004
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | payloads/external/tianocore/patches/05_CorebootPayloadPkg-don-t-use-serial-output-for-Release-build.patch (renamed from payloads/external/tianocore/patches/05_CorebootPayloadPkg_noserial.patch) | 63 |
1 files changed, 35 insertions, 28 deletions
diff --git a/payloads/external/tianocore/patches/05_CorebootPayloadPkg_noserial.patch b/payloads/external/tianocore/patches/05_CorebootPayloadPkg-don-t-use-serial-output-for-Release-build.patch index 0e84b7df12..a581a8c749 100644 --- a/payloads/external/tianocore/patches/05_CorebootPayloadPkg_noserial.patch +++ b/payloads/external/tianocore/patches/05_CorebootPayloadPkg-don-t-use-serial-output-for-Release-build.patch @@ -1,39 +1,46 @@ -From 77f75370d6fbfefb04456f6e1c32c85d4bac8bf5 Mon Sep 17 00:00:00 2001 -From: Matt Devo <matt.devillier@gmail.com> -Date: Thu, 23 Feb 2017 14:11:14 -0600 -Subject: [PATCH] CorebootPayloadPkg: don't use serial output +From 147174ea833e14ef68a8c5f1366cfbd1468dd1c8 Mon Sep 17 00:00:00 2001 +From: Wonkyu Kim <wonkyu.kim@intel.com> +Date: Wed, 10 Oct 2018 10:59:51 -0700 +Subject: [PATCH] CorebootPayloadPkg: don't use serial output for Release build +Signed-off-by: Wonkyu Kim <wonkyu.kim@intel.com> --- - CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 2 +- - CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) + CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 4 ++++ + CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 4 ++++ + 2 files changed, 8 insertions(+) diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc -index 1d80fc4f5c..ce360c9e9e 100644 +index 6ddd64faf7a5..2e7055815add 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc -@@ -261,7 +261,7 @@ - #
- ################################################################################
- [PcdsFeatureFlag]
-- gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
-+ gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
- gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
- gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
- gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
+@@ -261,7 +261,11 @@ + # + ################################################################################ + [PcdsFeatureFlag] ++!if $(TARGET) == DEBUG + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE ++!else ++ gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE ++!endif + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE + gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc -index 52b26eb3d0..a27b0873a1 100644 +index 19c203e6cbb6..b00b7b0e1134 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc -@@ -261,7 +261,7 @@ - #
- ################################################################################
- [PcdsFeatureFlag]
-- gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
-+ gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
- gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
- gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
- gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
+@@ -261,7 +261,11 @@ + # + ################################################################################ + [PcdsFeatureFlag] ++!if $(TARGET) == DEBUG + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE ++!else ++ gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE ++!endif + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE + gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE -- -2.13.2.725.g09c95d1e9-goog +2.17.1 |