From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by mx.groups.io with SMTP id smtpd.web11.11663.1601821364002862365 for ; Sun, 04 Oct 2020 07:22:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=AcF7RK2H; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.208.195, mailfrom: mw@semihalf.com) Received: by mail-lj1-f195.google.com with SMTP id k25so4999561ljg.9 for ; Sun, 04 Oct 2020 07:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JoPhCKN2zy27FzCZ9xg44df3F5QgGk6DEFOfO4pocdo=; b=AcF7RK2HYaEAMYdaxNHuiYynXnXRWSExTjMZhFBnL+hDFhUr6rmxotQ5HDGcHvfR0Q 1JzZ5Rfg0zbiL9kKkh4K/QgVRSeJeI4OwqaLSq3wluYC9izU3qgBoXwvKyeKQVzOr+c3 GjkRqkBa1mFJvg834xNGYUBvBFh6fabt6S9/hAGc+nVOwGHJaysYJHRxbYxa2APap2WU jmSApAHnP7D/XoevhiuQ8uuxFM+8u/gec59hyHl3KWEqBkweg7g0bziiKX2usb5qgCBG DZnPoMdP0juR/2YzCse6AKnxBF5MqVV7gTlLD9/HGPSOHehS+MvpCYELDk+jI4DygGDh 2anw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JoPhCKN2zy27FzCZ9xg44df3F5QgGk6DEFOfO4pocdo=; b=Rx1UWLMdr4BZH5Gb80ad+TXWqopQOKYvCN/ufnH2MXvsUqvHTXyBAxrO6YuLKWRX7C OX4SAmzbt7zgtg+Jc7CMXGZ8vJgZ2WIlSNDHQzaIQ2x05PPXQYm7rnYlIZ+102TR0nQg 0uKfZ9TVpLCgNICAk5S+t5VZhtI/F/lS1qlgnZmi0EwsFQtF1aXDakSFjyjJgbIO3DAk qoRDthoHdk2P4+otvAFT5Stlt0+EgqElaqSoAEV0yBcZlZt5/33TI+M9Tabrtncq/MNb ryJygMG4OnTVA0jMsNzObvCHK+HUHXpyadWS7xwiofBP9a3jehUYYAJHjdpyycv2zLY2 DobQ== X-Gm-Message-State: AOAM530HGuS7+JM05fJZtn9xoUzatmDLQAHvQLMnVctI+K5VATjBqrwo PgMpCZDNTdZbuGx8JKnlzDVNGGNYG17QCw== X-Google-Smtp-Source: ABdhPJw2bXR1dWlT5RSD9uGqxum3XeSJs6B4UvVgOynUm+Iw6hvJE3oZ7Viox8fXgE0LEZdlIZzIGg== X-Received: by 2002:a2e:b0d6:: with SMTP id g22mr2764288ljl.350.1601821361683; Sun, 04 Oct 2020 07:22:41 -0700 (PDT) Return-Path: Received: from gilgamesh.semihalf.com (193-106-246-138.noc.fibertech.net.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id 131sm2382072lff.198.2020.10.04.07.22.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Oct 2020 07:22:40 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ard.biesheuvel@arm.com, mw@semihalf.com, jsd@semihalf.com Subject: [platforms: PATCH] Silicon/Marvell: Fix RngLib build error Date: Sun, 4 Oct 2020 16:22:23 +0200 Message-Id: <20201004142223.12272-1-mw@semihalf.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Commit b5701a4c7a0f ("CryptoPkg: OpensslLib: Use RngLib to generate entropy in rand_pool") introduced RngLib dependency for OpensslLib and caused Marvell platforms build to break for lack of an RngLib instance. This patch adds RngLib using the DxeRngLib flavor, which is a wrapper around the the EFI_RNG_PROTOCOL that the platform already produces. Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc b/Silicon/Marvel= l/Armada7k8k/Armada7k8k.dsc.inc index 42f8bbba92..ce8e120ea4 100644 --- a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc +++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc @@ -27,6 +27,7 @@ FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAu= thenticationLibPkcs7.inf=0D IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf=0D PlatformFlashAccessLib|Silicon/Marvell/Armada7k8k/Feature/Capsule/Platfo= rmFlashAccessLib/PlatformFlashAccessLib.inf=0D + RngLib|MdePkg/Library/DxeRngLib/DxeRngLib.inf=0D !endif=0D =0D !if $(NETWORK_TLS_ENABLE)=0D --=20 2.28.0