From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) by mx.groups.io with SMTP id smtpd.web12.57039.1583763696826131520 for ; Mon, 09 Mar 2020 07:21:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=1bNLInE8; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.208.65, mailfrom: pete@akeo.ie) Received: by mail-ed1-f65.google.com with SMTP id a20so6272487edj.2 for ; Mon, 09 Mar 2020 07:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=n/iVHufZy+CkxZ2J8ACnPY5wJUBWAdS86lMNm/kt9KM=; b=1bNLInE8moRSpGwRu0pDTFwm3Rp5ypfyLa6lFaCJdw6bxufjeUFLTIBc0RzfeK5KuJ Gj95kgu3gUBHvG+1pFfdfo59xaFEdkM+IF+1KtmTVf6CfOYsf1s74xJiXCEAdj6XL5Gg jTIVgQnW4STc2ZoFZq0u42930HJFySngF1Qsm0dpuZcwvqrYDR9/1g0Paf9L05RIps+N RjIHFRnmjD85Sd0ge97B5WUMEkugTcEfMGw80W9ZN7ibd7ca4RNXn+rrLDMvq0hiDzBd Vu2mPaD9qkGzYpYfhJB7fAnkyYGVaHl9r4R99uDvacUC9h+nFGfB94jWo3NlQOGhsQzV 3rHQ== 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:mime-version:content-transfer-encoding; bh=n/iVHufZy+CkxZ2J8ACnPY5wJUBWAdS86lMNm/kt9KM=; b=RXikRn2Qo+f8aH114UZG/iUYeusBUQfljN8u2QD9opDyQXbEhGYd/c3NxDhGQsaZzD eca2TPadhn/TNCvHGWR3rGRTuPxINrYL2RZApQG0y+fW5s0K1677tww0+vnhXFO0xSl3 jN3ozRQeoBqDCs7618TiUs/mmv5iwhxISlxQeDhol/aAEyacWRleNMWTxn3gj40fWBke CuRbKiTzVz02CvtNQWmUHV6+JyAobZRySYZ6C6VBAIPDQ9I70qXpBMXXclCljFCySSk3 7F5cklm1rhC1rrM3XAmciwm5qHSEeyUXxbMQky72WQAC52sia2qEUVYfijMXRe8OO7ai ITrA== X-Gm-Message-State: ANhLgQ3JcZLPysHibdz+1C+NmParwWJhKAfbfvNjwQWTjf31Ga45VFb2 Wyv6zyo1MegAIYye6rgoXn6aykBbwcA= X-Google-Smtp-Source: ADFU+vtd5i9L6aBuaDAZSGR+HBpuegkwMbSzEYj3O6YOeWvTtslfqDWFgjYGI+U1U7iawlVddQtV+g== X-Received: by 2002:a17:906:7ac9:: with SMTP id k9mr4477501ejo.44.1583763695085; Mon, 09 Mar 2020 07:21:35 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.66.228]) by smtp.gmail.com with ESMTPSA id r23sm3901569edx.24.2020.03.09.07.21.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2020 07:21:34 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif@nuviainc.com, philmd@redhat.com, awarkentin@vmware.com Subject: [edk2-devel][PATCH 1/2] Platform/RPi/AcpiTables: Fix ASL compilation warnings Date: Mon, 9 Mar 2020 14:21:18 +0000 Message-Id: <20200309142119.7260-2-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20200309142119.7260-1-pete@akeo.ie> References: <20200309142119.7260-1-pete@akeo.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Silence 2 warnings from pep.asl: * "Warning 3133 - Unknown reserved name (_GPI/_GCI/_GDI)" * "Warning 3150 - Empty Resource Template", which is caused by section "Name (_CRS, ResourceTemplate () {})" Remove "Offset(0)" in Xhci.asl, which produces the warning: "Unnecessary/redundant use of Offset operator". Signed-off-by: Pete Batard --- Platform/RaspberryPi/AcpiTables/AcpiTables.inf | 3 +++ Platform/RaspberryPi/AcpiTables/Xhci.asl | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Platform/RaspberryPi/AcpiTables/AcpiTables.inf b/Platform/RaspberryPi/AcpiTables/AcpiTables.inf index c95d75ed01bb..9ad5246d6bb6 100644 --- a/Platform/RaspberryPi/AcpiTables/AcpiTables.inf +++ b/Platform/RaspberryPi/AcpiTables/AcpiTables.inf @@ -56,3 +56,6 @@ [FixedPcd] gBcmNetTokenSpaceGuid.PcdBcmGenetRegistersAddress gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress + +[BuildOptions] + GCC:*_*_*_ASL_FLAGS = -vw3133 -vw3150 diff --git a/Platform/RaspberryPi/AcpiTables/Xhci.asl b/Platform/RaspberryPi/AcpiTables/Xhci.asl index 0083d1992936..bc3fea60f925 100644 --- a/Platform/RaspberryPi/AcpiTables/Xhci.asl +++ b/Platform/RaspberryPi/AcpiTables/Xhci.asl @@ -118,7 +118,6 @@ Device (SCB0) { Method (_INI, 0, Serialized) { OperationRegion (PCFG, SystemMemory, SANITIZED_PCIE_REG_BASE + PCIE_EXT_CFG_DATA, 0x1000) Field (PCFG, AnyAcc, NoLock, Preserve) { - Offset (0), VNID, 16, // Vendor ID DVID, 16, // Device ID CMND, 16, // Command register -- 2.21.0.windows.1