audk/EmbeddedPkg
Ard Biesheuvel e1455b0412 EmbeddedPkg: do not ASSERT() on valid external input
Since ASSERT()s are enabled even on all ArmPlatformPkg RELEASE
builds, ASSERT()ing on a valid FDT header will crash the firmware
if the user selects an incorrect file. Since ASSERT() is meant to
catch internal inconsistencies in the firmware, its use here is
inappropriate.

Instead, handle it as a normal error condition.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17309 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-05 15:51:44 +00:00
..
Application/AndroidFastboot ArmPlatformPkg/Bds: Remove any use of the "Fdt" UEFI variable 2015-02-26 11:02:39 +00:00
Drivers EmbeddedPkg: do not ASSERT() on valid external input 2015-05-05 15:51:44 +00:00
Ebl ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
EblExternCmd ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
EmbeddedMonotonicCounter ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
GdbStub ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
Include ArmVirtualizationPkg: use a HOB to store device tree blob 2015-02-28 20:26:00 +00:00
Library EmbeddedPkg/PrePiLib: Ensure the FFS files are always 8-byte aligned 2015-05-05 15:48:59 +00:00
MetronomeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
RealTimeClockRuntimeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
ResetRuntimeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Scripts/LauterbachT32 EmbeddedPkg/LauterbachT32: Lauterbach T32 Debug Scripts 2011-04-27 17:21:31 +00:00
SerialDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SimpleTextInOutSerial ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
TemplateSec ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Universal/MmcDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EmbeddedPkg.dec EmbeddedPkg/FdtPlatformDxe: Introduce EFI Shell command 'dumfdt' 2015-05-05 15:31:11 +00:00
EmbeddedPkg.dsc ArmPlatformPkg/ArmVExpressDxe: Load FDT into the EFI Configuration Table 2015-02-26 10:54:39 +00:00
EmbeddedPkg.fdf ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
License.txt EDK II Packages: Added License.txt files 2012-04-12 16:40:32 +00:00