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

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