render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

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

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