render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

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

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