Blame SOURCES/0013-ArmPlatformPkg-introduce-fixed-PCD-for-early-hello-m.patch

cc9195
From 58755c51d3252312d80cbcb97928d71199c2f5e1 Mon Sep 17 00:00:00 2001
cc9195
From: Laszlo Ersek <lersek@redhat.com>
cc9195
Date: Wed, 14 Oct 2015 13:49:43 +0200
cc9195
Subject: ArmPlatformPkg: introduce fixed PCD for early hello message (RH only)
cc9195
cc9195
Notes about the RHEL-7.6/ovmf-20180508-2.gitee3198e672e2.el7 ->
cc9195
RHEL-8.0/20180508-ee3198e672e2 rebase:
cc9195
cc9195
- reorder the rebase changelog in the commit message so that it reads like
cc9195
  a blog: place more recent entries near the top
cc9195
- no changes to the patch body
cc9195
cc9195
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
cc9195
cc9195
- no changes
cc9195
cc9195
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
cc9195
cc9195
- no changes
cc9195
cc9195
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
cc9195
cc9195
- no changes
cc9195
cc9195
Drew has proposed that ARM|AARCH64 platform firmware (especially virtual
cc9195
machine firmware) print a reasonably early, simple hello message to the
cc9195
serial port, regardless of debug mask settings. This should inform
cc9195
interactive users, and provide some rough help in localizing boot
cc9195
problems, even with restrictive debug masks.
cc9195
cc9195
If a platform doesn't want this feature, it should stick with the default
cc9195
empty string.
cc9195
cc9195
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1270279
cc9195
Downstream only:
cc9195
<http://thread.gmane.org/gmane.comp.bios.edk2.devel/2996/focus=3433>.
cc9195
cc9195
Suggested-by: Drew Jones <drjones@redhat.com>
cc9195
Contributed-under: TianoCore Contribution Agreement 1.0
cc9195
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
cc9195
(cherry picked from commit 7ce97b06421434c82095f01a1753a8c9c546cc30)
cc9195
(cherry picked from commit 20b1f1cbd0590aa71c6d99d35e23cf08e0707750)
cc9195
(cherry picked from commit 6734b88cf7abcaf42632e3d2fc469b2169dd2f16)
cc9195
(cherry picked from commit ef77da632559e9baa1c69869e4cbea377068ef27)
cc9195
---
cc9195
 ArmPlatformPkg/ArmPlatformPkg.dec | 7 +++++++
cc9195
 1 file changed, 7 insertions(+)
cc9195
cc9195
diff --git a/ArmPlatformPkg/ArmPlatformPkg.dec b/ArmPlatformPkg/ArmPlatformPkg.dec
cc9195
index dff4598..3c5c6c7 100644
cc9195
--- a/ArmPlatformPkg/ArmPlatformPkg.dec
cc9195
+++ b/ArmPlatformPkg/ArmPlatformPkg.dec
cc9195
@@ -112,6 +112,13 @@
cc9195
   ## If set, this will swap settings for HDLCD RED_SELECT and BLUE_SELECT registers
cc9195
   gArmPlatformTokenSpaceGuid.PcdArmHdLcdSwapBlueRedSelect|FALSE|BOOLEAN|0x00000045
cc9195
 
cc9195
+  #
cc9195
+  # Early hello message (ASCII string), printed to the serial port.
cc9195
+  # If set to the empty string, nothing is printed.
cc9195
+  # Otherwise, a trailing CRLF should be specified explicitly.
cc9195
+  #
cc9195
+  gArmPlatformTokenSpaceGuid.PcdEarlyHelloMessage|""|VOID*|0x00000100
cc9195
+
cc9195
 [PcdsFixedAtBuild.common,PcdsDynamic.common]
cc9195
   ## PL031 RealTimeClock
cc9195
   gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0|UINT32|0x00000024
cc9195
-- 
cc9195
1.8.3.1
cc9195