On Mon, 14 Nov 2022 at 15:44, <pierre.gond...@arm.com> wrote:
>
> From: Pierre Gondois <pierre.gond...@arm.com>
>
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4150
>
> GetArmTrngVersion() is used to check the presence of an Arm
> Trng. If not found, an ASSERT prevents from booting in DEBUG
> builds.
> Remove this ASSERT.
>
> Reported-by: Sami Mujawar <sami.muja...@arm.com>
> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>

Acked-by: Ard Biesheuvel <a...@kernel.org>

Liming: please merge this if you are ok with it, or I can merge it if
you prefer.

> ---
>  ArmPkg/Library/ArmTrngLib/ArmTrngLib.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c 
> b/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c
> index fdabc02cd39c..3278722320c8 100644
> --- a/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c
> +++ b/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c
> @@ -344,7 +344,6 @@ ArmTrngLibConstructor (
>
>    Status = GetArmTrngVersion (&MajorRev, &MinorRev);
>    if (RETURN_ERROR (Status)) {
> -    ASSERT_RETURN_ERROR (Status);
>      goto ErrorHandler;
>    }
>
> --
> 2.25.1
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#96349): https://edk2.groups.io/g/devel/message/96349
Mute This Topic: https://groups.io/mt/95020127/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to