audk/ArmPlatformPkg
Laszlo Ersek 582085eb1f ArmPlatformPkg: NorFlashDxe: mellow DEBUG messages about flash reinit
The ValidateFvHeader() function checks several conditions against the
firmware volume header. Failure of the first of these checks, reported as
"No Firmware Volume header present", is a common situation for unformatted
flash images, especially when a new virtual machine is created.

Similarly, "Variable Store Guid non-compatible" is common when the
firmware binary is switched from Secure Boot-incapable to Secure
Boot-capable, or vice versa.

The only caller of ValidateFvHeader(), NorFlashFvbInitialize(), handles
all these mismatches by installing a new FVB header. It also emits
another, loud ERROR message (which is even less justified when it is
triggered by (BootMode == BOOT_WITH_DEFAULT_SETTINGS)).

Downgrade these messages from EFI_D_ERROR to EFI_D_INFO, so that they
don't clutter the debug output when the PcdDebugPrintErrorLevel mask only
enables EFI_D_ERROR (i.e., in a "silent" build).

These messages have annoyed / confused users; see for example:
- https://bugzilla.redhat.com/show_bug.cgi?id=1270279
- http://thread.gmane.org/gmane.comp.bios.edk2.devel/2772/focus=2869

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Drew Jones <drjones@redhat.com>
Cc: Yehuda Yitschak <yehuday@marvell.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18618 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-16 15:46:28 +00:00
..
ArmJunoPkg ArmPlatformPkg: Fixes for Juno ACPI 2015-10-07 08:18:00 +00:00
ArmVExpressPkg ArmPlatformPkg/RTSM: remove obsolete Foundation model libraries 2015-10-06 12:51:27 +00:00
Bds ArmPlatformPkg/Bds: Use HandleProtocol to get SNP instance 2015-07-16 11:27:05 +00:00
Documentation ArmPlatformPkg: remove mention of ARMGCC and ARMLINUXGCC 2015-08-12 05:25:26 +00:00
Drivers ArmPlatformPkg: NorFlashDxe: mellow DEBUG messages about flash reinit 2015-10-16 15:46:28 +00:00
FileSystem/BootMonFs ArmPlatformPkg: Fixed builds after some ShellPkg libraries have moved 2015-01-13 18:58:00 +00:00
Include ArmPlatformPkg/LcdGraphicsOutputDxe: check PrimeCell ID before initializing 2015-08-25 13:11:11 +00:00
Library ArmPlatformPkg: signal EndOfDxe event in PlatformBsdInit 2015-09-04 06:11:42 +00:00
MemoryInitPei ArmPlatformPkg: ASSERT that PcdSystemMemoryBase does not exceed MAX_ADDRESS 2015-09-09 15:30:37 +00:00
PlatformPei ArmPlatformPkg/PlatformPeim: constify EFI_PEI_PPI_DESCRIPTOR globals 2015-08-07 17:27:33 +00:00
PrePeiCore ArmPlatformPkg/PrePeiCore: constify PPI globals 2015-08-07 17:27:24 +00:00
PrePi ArmPlatformPkg: use correct ASM decoration for non-function global symbols 2015-07-07 14:34:39 +00:00
Scripts ArmPlatformPkg: remove mention of ARMGCC and ARMLINUXGCC 2015-08-12 05:25:26 +00:00
Sec ArmPlatformPkg: Allow PcdFirmwareVersionString to be a dynamic PCD 2015-07-06 16:54:26 +00:00
ArmPlatformPkg-2ndstage.dsc ArmPkg: copy ArmGicArchLib to ArmGicArchSecLib 2015-07-28 20:44:58 +00:00
ArmPlatformPkg-2ndstage.fdf ArmPlatformPkg: Add the LinuxLoader.efi EFI application 2015-07-14 14:32:24 +00:00
ArmPlatformPkg.dec ArmPlatformPkg/Bds: Added support for booting legacy kernel from BDS 2015-07-14 14:41:46 +00:00
ArmPlatformPkg.dsc ArmPkg: copy ArmGicArchLib to ArmGicArchSecLib 2015-07-28 20:44:58 +00:00
ArmPlatformPkg.fdf ArmPlatformPkg: Add the LinuxLoader.efi EFI application 2015-07-14 14:32:24 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt EDK II Packages: Added License.txt files 2012-04-12 16:40:32 +00:00