From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AGs4zMYoofcWf5AcptCq4TduVrjDBeZ5eySL4qvjxa+m/UHLIU3l96VB31/MYb6tlq/4rmd0WKgDjg== 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 Cc: Ard Biesheuvel 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: [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: , X-List-Received-Date: Fri, 08 Dec 2017 13:57:33 -0000 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(+) 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 -- 2.11.0