From patchwork Wed Nov 21 11:58:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 151674 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1829057ljp; Wed, 21 Nov 2018 03:58:55 -0800 (PST) X-Google-Smtp-Source: AJdET5dwl/aEuIc5Bliq0zpIce/J37XMxdrR9KQ1vir2b9SeugFvRhNEaw0xZFaPXOgqOjhZ8VpD X-Received: by 2002:aa7:804e:: with SMTP id y14-v6mr6348185pfm.73.1542801535629; Wed, 21 Nov 2018 03:58:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542801535; cv=none; d=google.com; s=arc-20160816; b=PspMmJnqCj2YttOp+4J2whp2VuaXPR43U1p3wi05DSFNs9edEM+nNz8AQTAz23gkPH 6BYBfFH7sv9Ra4+eQyv9+AMVyeeET1LorBh4LsRfvc+TLmrh0kt6n2wJBRiyVLS0YN0y y2pdLs71vaKnfnwUSmrFc+HlLBnzWI1ta/jbPIP7Wx7d60LLsXcL8C2QyBi4DLIaOITA I8pb0IUqS9+ADZe6qJMIeKLbKM01soXmjLUXnqU6MLvnsL8Kd3yL3Stp9FWtg7s2ZkML 4RwqpL7ewLkDb850t4zy9x6KuiZzD2I3YL1Kjwm8ilBLsM5xplGyVYNMcdoaREmtsDH3 +hEQ== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=MuuYuYp0ZGgwQryJX7WBouMuWc1Toe3XIY1JCn4Jpcw=; b=wKCMHj+xMfA1XG2MlP37W+1y314Xpw2kPYr6FkoH/yjk2XqBBJ/ZQEO2YHHS9t0ETS Ka5fqkfRJJJ/J+xtfXopzTwlSwaPTCkTqRrUAloGBndJOLLgm3VxHP+uxMaB/YhwYRnz h1+gUG0s4HbjZS7tj1Irh21xweQPoivL3J+2kLelvfzYDEG1ANpsqODlMYRXBVGgwH7G ANnyC5gwEXxg/LGG+PDg78rmZAqjGrHz02K1QV0vr/4HdXauhULV8tcXl6gLuPM0Smeh KtR2sOby1bXdrgfyeTM0y7HinRNyAxueKCoOjrh25Ca+8UsKPHqKuSj51z7tAm2zKval 7+Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=kSNOkIys; 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 44si4171540plc.110.2018.11.21.03.58.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 03:58:55 -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=kSNOkIys; 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 9036021193780; Wed, 21 Nov 2018 03:58:47 -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:4864:20::541; helo=mail-ed1-x541.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (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 051832119377D for ; Wed, 21 Nov 2018 03:58:45 -0800 (PST) Received: by mail-ed1-x541.google.com with SMTP id y56so4633663edd.11 for ; Wed, 21 Nov 2018 03:58:44 -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:in-reply-to:references; bh=rPwfBOqdamYy20wgljlOy5SsBXVoWvejPOb00LUbO6E=; b=kSNOkIyslArxjoQrUx4xmzBprbQSbKe0jZK4DOW2VcDki48UU2LxYG2cidD/BQHwk7 JSHkQInDFcW3Z+MYi1AXif04mlVpnv7bevobO8bdjP0PwYCeWINoBEKxLVN/wssxDIsL 5DlQ9ky7u02mZVOec0uRcP6e4iS27U4rakDCM= 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:in-reply-to :references; bh=rPwfBOqdamYy20wgljlOy5SsBXVoWvejPOb00LUbO6E=; b=m0FKQsKXLziifJb6lmUwz1kJ4+JPnUxSUO+Gl4syD0tSfKlvKuv+zdQuX3rzGfy7XS 0elZcGJiYIbccpXJGRWffwVtgPZBOB3dXUW9xmBjMC4lFF4cldCAoJPHatgijYcgUZHi aE5ZeZsbQEJFV4Jvc3bbV504cIbmmHkeGpLdi3y0p0m/2NYr0w/jtb0ntOiXqQkOLv8M aCS8HhUpuH3hXv1X3tVizmgN62aI8FBl3AF6TLVh8usQeoWqzK8MYFQcVt9Jd6v3QJmj Y+bq7hIJ1fajSt0moXkYbYmflDRy9C431SOxRhb8H6XEpYw3a/Z7wB4qGR9GeoH5ifZl JpyQ== X-Gm-Message-State: AGRZ1gLwNkNpOpIdfl3n58LPOYKfP60OHuxf2yLS35MrnUznoRblWN+g 2OdlnXEMRit65MvrtrsqfFRa4x1cV8nFtg== X-Received: by 2002:a17:906:1f99:: with SMTP id t25-v6mr4932476ejr.36.1542801523247; Wed, 21 Nov 2018 03:58:43 -0800 (PST) Received: from mba13.wifi.ns.nl (dhcp-077-251-017-237.chello.nl. [77.251.17.237]) by smtp.gmail.com with ESMTPSA id x90sm4090716ede.35.2018.11.21.03.58.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 03:58:42 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Wed, 21 Nov 2018 12:58:28 +0100 Message-Id: <20181121115828.3026-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121115828.3026-1-ard.biesheuvel@linaro.org> References: <20181121115828.3026-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH v2 5/5] ArmPlatformPkg/NorFlashPlatformLib: remove unused Guid member from struct X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lersek@redhat.com, nariman.poushin@linaro.org MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" We no longer use per-instance GUIDs to identify NOR flash banks so there is no longer a need to define them. Drop the Guid member from the NOR_FLASH_DESCRIPTION type. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- This patch should not be merged before users in edk2-platforms have been updated. ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h | 1 - 1 file changed, 1 deletion(-) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Laszlo Ersek diff --git a/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h b/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h index e9e1c060787d..e99a217c3a51 100644 --- a/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h @@ -20,7 +20,6 @@ typedef struct { UINTN RegionBaseAddress; // Start address of one single region UINTN Size; UINTN BlockSize; - EFI_GUID Guid; } NOR_FLASH_DESCRIPTION; EFI_STATUS