From patchwork Fri Dec 8 14:01:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 121162 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp695172qgn; Fri, 8 Dec 2017 06:02:09 -0800 (PST) X-Google-Smtp-Source: AGs4zMYTAi3uQkH7UkldY7aMsxJQU749DcWmHBwoWg9UQ5Iovj6bbCyH0zTXfLtJYvbJABnEl8MO X-Received: by 10.84.248.68 with SMTP id e4mr30184297pln.0.1512741729739; Fri, 08 Dec 2017 06:02:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512741729; cv=none; d=google.com; s=arc-20160816; b=JpQBbRFBLAPUDAFIOjq5DkkXCXDH1pGW19dfNGtOeibTizq2G9Z/YyIB7DAeyxiG8a TepdACyDQK0qfnrgSJ30rH7X5ZE21KnM9DlWSXwcrYHKHqCk0qgWpOwBVkPokfErF0mz n/u4WV5SG+B7ayLKhS3dQUnachN+9QrniyXi04a1TEQhvspPVpfKIe99UMbAiu9vUOQ4 rBi6DqkBi1n1Dm1C2jpqoUGM3yymsz2jLOeUkEIjj8tLVpehGpjncNb1S4wGh2NyUU3n tqqb6IchRN2pxeHgNNay4NaBUwDoIXXCWwsFXHEDaeSY3ko6PEMadEtbB49pwGyXMt9t HvYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=YFEaFA6w9EoZemop7KHORnEc0/JEvq+Co6/TWWKEu+8=; b=QrTO1kgOudnfhZZWh5vxvfkZzqjZ9PRYebo5WOz8y8RFVs6rUjIkWXK3Of2LISn8qj 2jzPAkGwmtOVq2W3OMGCFWb9+HbdPyow3Zd3t4OYW9fNn9RDBkDDMyzYW/LXYLPzF4y8 W1adaEjiVTbXctfhPp49/L8k//CtWXEQa6ezgLCqqSFLKlD7eeWt81yKDxJT+BJxzV61 WXMR0/quKi0grobMGR9IWdhtpedNfiG377fQaeMTUNqkeqvWQ0cuo7W6ng6ixWh0dfQh +SnXIL4RDru5P+ehB34acVuO5JeE6sOH8cVZGiYqW3yebrJL8P9gD1tcxlWiu09ONHzp C7nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=V5YNm/7t; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id k8si5193839pln.310.2017.12.08.06.02.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2017 06:02:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=V5YNm/7t; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 43A862217CE47; Fri, 8 Dec 2017 05:57:34 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::242; helo=mail-wr0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D5B802217CE3E for ; Fri, 8 Dec 2017 05:57:32 -0800 (PST) Received: by mail-wr0-x242.google.com with SMTP id o2so10921324wro.5 for ; Fri, 08 Dec 2017 06:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=lgevdoQgJvV6D/Zb/8hH9kv+S5fhY6ML8QD3zDFy0tI=; b=V5YNm/7tVFmQBFNiXYuivsEDICFC22AwoUDtIlTw8MptbFselEQd2XOilKqfYK3BVp 3EXhJRKLMCMgtAa3uJvn2kfZt5sEb+PsE2qJ4+lKyU84TXa/aoT/ewk/pnfIuLjp/qmK T+xGvFtqZghNd6IUfmw9BUATw5wS/FM7T0lAQ= 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; bh=lgevdoQgJvV6D/Zb/8hH9kv+S5fhY6ML8QD3zDFy0tI=; b=CvNzxqr8mGtUHTj3kqXXkwZQH3Hw3J7QwznsQplxDcLzYmAuQELlm+qKyEdVN12yq5 7XtY0vxx8RjjOQmIp5/oghvaisl3k6egGSAKRVRPlEUnuJ8O3qbyUvWfoxlmwBrmxWQa Pyktb0he66PF4861xZ0U9vsrFNOEXa90rvYnf8cDHnHnlT4WmJN9VqCIMzF84oZJ/TCx CTGO9VR21sScuImK3umFsXuBk/q2RhxpG4V5KiVr0x2QE3H3NG2QA5vkHePKzPjw6Lrq cRK1EnubogeaXRot/Ys/ptgHX/J36no3biFvmD2I+YcMCoTXZghZOMlUFUBd+v1WIVWX 9XtQ== X-Gm-Message-State: AJaThX74nRnPphOLZ41cNF+dHr64H+mqSxMPN/9citREvkyMPmCKGQ/e 7CtR8VCuPtBt2fwtRjvbO5kTMt7ZSRQ= X-Received: by 10.223.150.175 with SMTP id u44mr28449187wrb.115.1512741725269; Fri, 08 Dec 2017 06:02:05 -0800 (PST) Received: from localhost.localdomain ([160.171.158.223]) by smtp.gmail.com with ESMTPSA id o88sm10230573wrc.10.2017.12.08.06.02.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2017 06:02:04 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Fri, 8 Dec 2017 14:01:58 +0000 Message-Id: <20171208140158.31371-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH edk2-platforms] Silicon/Socionext/SynQuacer/PlatformDxe: add missing IoLib include X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Commit ce95ec196da0 ("Silicon/SynQuacer: enable coherent DMA for NETSEC and eMMC") introduced a call to MmioOr32 into PlatformDxe without adding the appropriate #include and LibraryClass references, resulting in build failures when attempting to build the SynQuacer platforms. So add them. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.c | 1 + Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf | 1 + 2 files changed, 2 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm Tested-by: Leif Lindholm diff --git a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.c b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.c index 643289131214..e58a2093eb49 100644 --- a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.c +++ b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf index 478e0c7d33e9..00c1130906c4 100644 --- a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf +++ b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf @@ -37,6 +37,7 @@ [LibraryClasses] BaseMemoryLib DebugLib DtPlatformDtbLoaderLib + IoLib MemoryAllocationLib UefiBootServicesTableLib UefiDriverEntryPoint