From patchwork Mon Feb 11 18:02:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 158026 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2894802jaa; Mon, 11 Feb 2019 10:02:09 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib4c1kDkrTWepsZR9SucWy+U82mkYQ8XjEp7nlftM8Zl0YgAemZfJRUQ/PfTxpZl/LAmuEE X-Received: by 2002:a65:43c5:: with SMTP id n5mr19174936pgp.250.1549908129138; Mon, 11 Feb 2019 10:02:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549908129; cv=none; d=google.com; s=arc-20160816; b=Vrfbl+keGxT5alkwQPP34KFuw4Okm4Goj0Q/2GK1S8Xg9ifECLwxMkyZquwmi1bHfB MdNUlgWmSy71O3Gpgqx8tiEFVzqChF07aCaQAiW8fftKvlOoCCER14uDeZe4he0M81Vt 5HN4AAZ9rZL7wyxCdAo8WiO+LlxPMRAK8+vj/TeHPKmpQmWBwzZbQtSjG2zx3XuU8bEg ps0Ch9znTDuH9XkqBqmiIdFQ/Dy+a8/lghHzsDrWbDajymFhmE+9NAWnc0Q8HA9Cu7xy bUKHMHTCNUkE1rQ8LSOwAoTdDVFHdbr1S6ecrGaNLHlWmF4EOyI2ttojQ4NMWy5PoqhI jc4Q== 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 :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=F0KnbiqDDjuD9fCQq6Ko/BhtEkIe13d6v8JVQqhaKxw=; b=0aM8CS2K/vpQ3CV0JGt0LC74c2udDqzscpXb+tlIFKbCJOKF4DER7wescPtMfuwsDK Hdm5aqhgoHsu6g3USYrTjDwjcR2Nuv0uo+rJuf54BZczZiKy/7IpFstwOd0AMTkLRocU QsfvLb9vOuFRX+T6Rk3HCP7/NBtH3409EIom9SO0sCUJu9xJDFGQE1gpM6IrTeJl+de6 rOe5gVGAiHN+wCv/0j9kqGly9Vk+PQtp0qgFGGOkdfw5+6f0A0m9AcdkmvDxpwaO0H3P L27WaPfkr1/Qft2YrLDarH55J4G0CvZ9+F7S3qOlI8fPD/YVnKOORB67Pr3Q06ASCsGn W3Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Sr9/PCso"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id 33si8438338plk.85.2019.02.11.10.02.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 10:02:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Sr9/PCso"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 10403208D6156; Mon, 11 Feb 2019 10:02:08 -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::442; helo=mail-wr1-x442.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (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 5EC7A208AE9B7 for ; Mon, 11 Feb 2019 10:02:06 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id q18so5744921wrx.9 for ; Mon, 11 Feb 2019 10:02:05 -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=TU0dCu7arwQ+FV0TeklckL016TPPzSThm/lwQ5Xz1RA=; b=Sr9/PCsoemlo+h7ddAD1X6lomxDbRBiotzOhw7WqkSeJnaMa+CcT2NP+V3hioFrb+i 98M3eLgC/LzArIUUD/DmAYYNXFEw/T40apa3ffquEfxM8Rf5vm/knFJccs2DDkoOgoTk XCVnkrzbe5byeSXZifQrrcG8HKi6SXQNpTKmEOglbA9peM1PdLs1kgtRFYuk7Owdhz/5 i/Xx6xRTjw3hEgWMWVFzcp+oXwfn7xjHQzgeXwaWo87u8SmjDewo8nbeKabWDN4GLnoD lhJRIKjd/qWfmpmLvZ/xH8DiwWuLiknkZd/my/mJK5xjDU3bXGTIzxlr7JSYU48kOrkx s8ng== 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=TU0dCu7arwQ+FV0TeklckL016TPPzSThm/lwQ5Xz1RA=; b=mD2qPRBwOZjOPx71WHCTf25vC/2/oTm/1zHk2WU9ZZDaGY4Gur22R1eN6FLn9cpqmQ Gb0zOL+0NvIXev41L50UkYAgj4MQs/zApHJcTjRU3Vrin2tBSVmptcDFhQC0bgrRu7SU C2MRzf6sHlj7370Anve1/ofSGe73USJYfnjdUJHtTIIvyn0rnYCAzxPkvoqK6wyC5hlN tz3FQK81KvQ1bCnN/C4H0kDJq1e+BeugB/3Dwo5u45xetFqB03CphO8m6bj/hwtuvfWV 2xllNX5MCWCBQBGUgInxFfFOFpB+Q6W2VtI29EUauHtj2J0wHisWNHI1/admI21Jjvid EsSA== X-Gm-Message-State: AHQUAuYJELT1J1UiT/qgKNpZ7qYQCocu/ymHFpJyxzrRL62BX/586bhs rU8LWbqoMiRz4ZcifAot12xcfcBbSqI= X-Received: by 2002:adf:dfca:: with SMTP id q10mr3477863wrn.45.1549908124285; Mon, 11 Feb 2019 10:02:04 -0800 (PST) Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id o9sm28777wmh.3.2019.02.11.10.02.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 10:02:03 -0800 (PST) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Mon, 11 Feb 2019 18:02:02 +0000 Message-Id: <20190211180202.991-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH edk2-platforms] Silicon/Socionext: use variable attributes from Uefi/UefiMultiPhase.h 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: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Use EFI variable attributes from Uefi/UefiMultiPhase.h in PlatformDxe .vfr rather than local definitions. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- .../Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Ard Biesheuvel diff --git a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr index 8a395eac68..25b7b49a3d 100644 --- a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr +++ b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr @@ -15,14 +15,7 @@ #include #include #include - -// -// EFI Variable attributes -// -#define EFI_VARIABLE_NON_VOLATILE 0x00000001 -#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002 -#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004 -#define EFI_VARIABLE_READ_ONLY 0x00000008 +#include formset guid = SYNQUACER_PLATFORM_FORMSET_GUID,