summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrachotan Reddy Bathi <Prachotan.Bathi@arm.com>2024-08-22 15:42:15 -0500
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-08-29 04:00:56 +0000
commit2fe9b6c22fcc9b8617b95d4a2cf091fea4f66537 (patch)
tree14fae072306697b2c81ee7dfa1de7e1a095014c5
parent383f729ac096b8deb279933fce86e83a5f7f5ec7 (diff)
downloadedk2-2fe9b6c22fcc9b8617b95d4a2cf091fea4f66537.tar.gz
edk2-2fe9b6c22fcc9b8617b95d4a2cf091fea4f66537.tar.bz2
edk2-2fe9b6c22fcc9b8617b95d4a2cf091fea4f66537.zip
MdePkg:BaseArmTrngLibNull: Assert causing FVP stalling
FVP Base Revc doesn't support Trng. ASSERT (FALSE) is causing the boot to stall. Replacing ASSERT with ERROR log. Signed-off-by: Prachotan Reddy Bathi <Prachotan.Bathi@arm.com>
-rw-r--r--MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.c b/MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.c
index 316d78bf5e..84366a4e96 100644
--- a/MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.c
+++ b/MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.c
@@ -41,7 +41,7 @@ GetArmTrngVersion (
OUT UINT16 *MinorRevision
)
{
- ASSERT (FALSE);
+ DEBUG ((DEBUG_ERROR, "ArmTrng Backend not found\n"));
return RETURN_UNSUPPORTED;
}