From patchwork Thu Apr 28 16:22:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 66906 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp309421qge; Thu, 28 Apr 2016 09:22:46 -0700 (PDT) X-Received: by 10.50.18.166 with SMTP id x6mr34771775igd.12.1461860566191; Thu, 28 Apr 2016 09:22:46 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x12si2239199igr.64.2016.04.28.09.22.40; Thu, 28 Apr 2016 09:22:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D4031615CA; Thu, 28 Apr 2016 16:22:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 6FB43615BF; Thu, 28 Apr 2016 16:22:36 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 58FF7615C7; Thu, 28 Apr 2016 16:22:33 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by lists.linaro.org (Postfix) with ESMTPS id 67622615BF for ; Thu, 28 Apr 2016 16:22:31 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id g17so50325313wme.1 for ; Thu, 28 Apr 2016 09:22:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hF7fssg4+7u5d6etlw8buJqKybQ0oZubIz8G1GtJd4g=; b=H3wiRMqY4lhvbw8lsxSCbzdSWg7Q7M8ovOnUvz/YoRS2K+3nm+fh6pIe2Q5UpmCkr9 NS+pVIjzcYW0ndxeRYZ8rZyLQYWb5lUYJuBuZKYAPqZCtaIo4yq1/1JRxzCXTu5gy+F6 oI/CNECOSBmq3umHGPQBCRM1gqK5vXV7WOo/zUeXYe4kubyFboiWHWi1f/IgTirBCGIU 6qSNWiGj04bE9dH9nR/vrl0bP6WTxmBTAKqy30uof7TiZ64ZgiXeUVPzapwqwd7baubf MQ9uIpHW0UaFfYom9Z4sp6Kl58STnCPDb81hj1+5e9NbzM1S3Et429o5lytNBtTb/JZ6 jVtQ== X-Gm-Message-State: AOPr4FW7G51BuZaIlcVpT3WZQ+Iji2aP4rQG2JIy5Vr64wgmwONMIq/cwBDSwdBLFvCiOczGWkA= X-Received: by 10.194.111.199 with SMTP id ik7mr18545464wjb.150.1461860550526; Thu, 28 Apr 2016 09:22:30 -0700 (PDT) Received: from localhost.localdomain ([195.55.142.58]) by smtp.gmail.com with ESMTPSA id b12sm32384490wmb.0.2016.04.28.09.22.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Apr 2016 09:22:29 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org, ricardo.salveti@linaro.org, leif.lindholm@linaro.org Date: Thu, 28 Apr 2016 18:22:25 +0200 Message-Id: <1461860545-6816-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Cc: leo.duran@amd.com Subject: [Linaro-uefi] [PATCH] Platforms/AMD/Styx: add RNG driver to Overdrive and Husky X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" This adds the new random number generator driver to the Overdrive and HuskyBoard platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- Platforms/AMD/Styx/HuskyBoard/HuskyBoard.dsc | 4 ++++ Platforms/AMD/Styx/HuskyBoard/HuskyBoard.fdf | 5 +++++ Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 4 ++++ Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf | 4 ++++ 4 files changed, 17 insertions(+) diff --git a/Platforms/AMD/Styx/HuskyBoard/HuskyBoard.dsc b/Platforms/AMD/Styx/HuskyBoard/HuskyBoard.dsc index e0201dcd83b5..c74ed99ec2a7 100644 --- a/Platforms/AMD/Styx/HuskyBoard/HuskyBoard.dsc +++ b/Platforms/AMD/Styx/HuskyBoard/HuskyBoard.dsc @@ -697,4 +697,8 @@ DEFINE TRANS_CODE = $(EL3_TO_EL2) MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf + # + # Crypto Accelerator support (RNG only) + # + OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxRngDxe/StyxRngDxe.inf diff --git a/Platforms/AMD/Styx/HuskyBoard/HuskyBoard.fdf b/Platforms/AMD/Styx/HuskyBoard/HuskyBoard.fdf index 4c9a14d693b0..f723f0339581 100644 --- a/Platforms/AMD/Styx/HuskyBoard/HuskyBoard.fdf +++ b/Platforms/AMD/Styx/HuskyBoard/HuskyBoard.fdf @@ -224,6 +224,11 @@ READ_LOCK_STATUS = TRUE INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf + # + # Crypto Accelerator support (RNG only) + # + INF OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxRngDxe/StyxRngDxe.inf + [FV.FVMAIN_COMPACT] FvAlignment = 16 diff --git a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc index dea1ecefb9ad..43a8b197b396 100644 --- a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc +++ b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc @@ -708,4 +708,8 @@ DEFINE TRANS_CODE = $(EL3_TO_EL2) MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf + # + # Crypto Accelerator support (RNG only) + # + OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxRngDxe/StyxRngDxe.inf diff --git a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf index de5b3c9c3cfa..8a9d0f3f60a5 100644 --- a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf +++ b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf @@ -224,6 +224,10 @@ READ_LOCK_STATUS = TRUE INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf + # + # Crypto Accelerator support (RNG only) + # + INF OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxRngDxe/StyxRngDxe.inf [FV.FVMAIN_COMPACT] FvAlignment = 16