From patchwork Thu Sep 15 16:28:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 76333 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp43821qgf; Thu, 15 Sep 2016 09:29:13 -0700 (PDT) X-Received: by 10.55.138.67 with SMTP id m64mr10345731qkd.265.1473956953591; Thu, 15 Sep 2016 09:29:13 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w2si709301qte.153.2016.09.15.09.29.09; Thu, 15 Sep 2016 09:29:13 -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 4877E60A45; Thu, 15 Sep 2016 16:29:09 +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 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 A718D60B2D; Thu, 15 Sep 2016 16:28:43 +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 D688360BF7; Thu, 15 Sep 2016 16:28:39 +0000 (UTC) Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by lists.linaro.org (Postfix) with ESMTPS id D105660A15 for ; Thu, 15 Sep 2016 16:28:24 +0000 (UTC) Received: by mail-qk0-f180.google.com with SMTP id h8so55968122qka.1 for ; Thu, 15 Sep 2016 09:28:24 -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:in-reply-to :references; bh=Q1N0WAISpccIPAFSIW2+s7ypSx8MFeezGirXhrFRlF8=; b=kTG+3DMBPOoF41TZNKNkuIa7tfn4ihucQuIfpbAHLCW31qlvHPYIbK1AA49CYOA6a9 bTStNL5Q7J/hoi0NRJT86ZBRaFnc6VENf6GqIZjXDCF5kcZ4Y+W6QEbz6QWvY3m4rTgf J4dH/MnryFigLjzZDXdJaEoHzG+PmeqSn2+hQ4INm3Bbbfo3SzuKcsDZWnFs8d2H2JvJ oNjLRDZb+Zmnb/QpA+KzG2HytYfbDOxWFYS5R3a10MegjgMDWAxw4BmenaGcynMWxa6h awU2Iz1PSY7hDR99IrBHPqgVFEw4szg3Ho5dYiQUXxDP/NlzObZAfXUjQkeGCw6gCh19 DScg== X-Gm-Message-State: AE9vXwN8Us4WnacEmeWOHcT0e0z58pSrowiwipBqa8jstZ1lB96nb0uHg7m3AlOVFsrKG3n0a9A= X-Received: by 10.194.13.4 with SMTP id d4mr1206438wjc.218.1473956901360; Thu, 15 Sep 2016 09:28:21 -0700 (PDT) Received: from localhost.localdomain ([160.164.73.10]) by smtp.gmail.com with ESMTPSA id ab9sm4234994wjc.7.2016.09.15.09.28.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Sep 2016 09:28:20 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, ricardo.salveti@linaro.org, leo.duran@amd.com Date: Thu, 15 Sep 2016 17:28:05 +0100 Message-Id: <1473956885-5468-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473956885-5468-1-git-send-email-ard.biesheuvel@linaro.org> References: <1473956885-5468-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [Linaro-uefi] [PATCH v2 2/2] Platforms/AMD/CelloBoard: add Renesas PD72020x firmware uploader 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" The Renesas PD720202 controller on the Celloboard does not include an external ROM to contain the device firmware, and so it is up to the system firmware to upload such a device firmware before the XHCI driver can attach to it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc | 4 ++++ Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc b/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc index 0a987cc3b118..3cccf2d3a9fc 100644 --- a/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc +++ b/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc @@ -659,3 +659,7 @@ DEFINE DO_KCS = 0 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000 } + +!ifdef $(RENESAS_XHCI_FW_DIR) + OpenPlatformPkg/Drivers/Xhci/RenesasFirmwarePD720202/RenesasFirmwarePD720202.inf +!endif diff --git a/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf b/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf index 428711b09168..7a75197858be 100644 --- a/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf +++ b/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf @@ -218,6 +218,16 @@ READ_LOCK_STATUS = TRUE # INF OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxRngDxe/StyxRngDxe.inf + # + # Renesas PD720202 XHCI firmware uploader, requires firmware image + # in directory $(RENESAS_XHCI_FW_DIR) + # +!ifdef $(RENESAS_XHCI_FW_DIR) + INF OpenPlatformPkg/Drivers/Xhci/RenesasFirmwarePD720202/RenesasFirmwarePD720202.inf + FILE FREEFORM = A059EBC4-D73D-4279-81BF-E4A89308B923 { + SECTION RAW = $(RENESAS_XHCI_FW_DIR)/K2013080.mem + } +!endif [FV.STYX_EFI] FvAlignment = 16