From patchwork Wed Feb 28 19:24:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 130043 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp121250lja; Wed, 28 Feb 2018 11:24:40 -0800 (PST) X-Google-Smtp-Source: AH8x227GAjPs75XzviP6aMVwNytCTG441SLwCILu3utRN0tFvlsnKc0i6X2+Qg2GBFUm97N9u/2H X-Received: by 2002:a17:902:aa8e:: with SMTP id d14-v6mr18409659plr.94.1519845880675; Wed, 28 Feb 2018 11:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519845880; cv=none; d=google.com; s=arc-20160816; b=BNZRhBI1KQc/ogsvEDwFW3wnyRE3dwUEBCT3wWzt1XZeP7682x/n/hg1ipdQzegj5b 7VtjuXiw9SfUDjXjbDeoZ15d+uhiPIl5Wck0VGbf+DixEoCSc9HoCYLAcaW2R7lBDwuD 2dnvA6bHEzwdq07920GbYJODCSnqsxVff8vXbIl8PG/JWE+r/P6yMXRPiV9/McHKPd0S BSPfOZBvXmoFZiM/GWxMu4KxYWaA5A90fg8DLzV0WBK7G7E0KaLOKJ/tVqFsPOwDg1rS 10vPAvKW4ughzcGRWNEKzKYjPRVhd9HwvBSO+fbAcprWtZzZVlcmRoRA5wePdR29qJt/ wlCA== 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:arc-authentication-results; bh=fJoQX2PX3DQndnklqsKHvWg4dIWLdrwT73mhuZGkjLM=; b=POE108kshP3bIuKlrW8AfjweNUnEEiaLy28dmmtN5LsjBrIg/IoCxL5oVyqX+VftNr jsHwePbe+5NwHHJFkSyaElX27gh7WQBFqs4+wxlah2QyP/sCuS6SU65Y58HpJlYQYUE5 JggOpgvMQx5wsGosbIpjRkhrqzix0K4miowsH/TI27gkRrGd421YK5ZcKSuGqRvBtz9p hm90ZjEyVBha/UoDGZTnsl8uBMJwDGIQpEdvBEZ9V9Jujjp3BMvf5Itqrb17uNZ45BHq P/zidQzYngi255yiwopsJzykwOOzANTl01lMyJKRhPBt5y+k5knMdxTyacV2Q90s6tWW oPSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ygz6TttS; 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 t85si1667077pfj.296.2018.02.28.11.24.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 11:24:40 -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=Ygz6TttS; 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 8533422352293; Wed, 28 Feb 2018 11:18:32 -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 7752722352288 for ; Wed, 28 Feb 2018 11:18:30 -0800 (PST) Received: by mail-wr0-x242.google.com with SMTP id f14so3616645wre.8 for ; Wed, 28 Feb 2018 11:24:38 -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=Zy0Ia3ygcecFtPlfGbwDqMjGGjAD1cQ4HvaBG4yB6gQ=; b=Ygz6TttS9u0NYnvvyxbHh1lvOXiaG3GNCFoJ/94x99Wr+fPwKL239WHAK6lQxeKd2V o/RQlB4UpFlIUgFX6dP+TDZJ4OqYAF+c3/8yWr6viDOsvFiLegDuywXPDSvfippLb3XK P6tlewVM3JINdNF6Sb0EOA9RzIz/oYA/Fbc24= 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=Zy0Ia3ygcecFtPlfGbwDqMjGGjAD1cQ4HvaBG4yB6gQ=; b=QlgWRW8vXgCkykuF7EWILFyzIEA9qtaUedNiVyqmRSVDo6A4yUKPnC3NIxF9xk3BOa Bjs+EYEpmUAplw1eHx0yawVOMXESPG/ElAlJFA7CDbqfKLgJDxzHXAwsvmsTQBQrSNbH ycp01jgZv0iUTm7wpVNG2AYcCh2Ugp72S8P6yCAcsdvKTajRzlvbuEfvKQjLwKYbOP/W sFrN1Vj4h+x+lEFdTa0/knmqFEECUpledF6c0U9JsdeQukvvCFBNnioAeKx4mQANxGaK lESM2Zf8xcPWOQZqrsX8WnrAzzqMbCIhal3kHzTeoQgHjY28lQwFe14CPeO/wFZjCdch oLog== X-Gm-Message-State: APf1xPCD1yTPhnbZ+NqSyZLW+nsGW1XFOoyrrMnvLXtPPRHRloiPrwTR Hd81JeQzDG2/zndt/bo1MsmNxcVJA0A= X-Received: by 10.223.182.2 with SMTP id f2mr10792611wre.117.1519845876465; Wed, 28 Feb 2018 11:24:36 -0800 (PST) Received: from localhost.localdomain ([160.163.57.8]) by smtp.gmail.com with ESMTPSA id 47sm2152312wrb.48.2018.02.28.11.24.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 11:24:35 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Wed, 28 Feb 2018 19:24:15 +0000 Message-Id: <20180228192421.17684-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180228192421.17684-1-ard.biesheuvel@linaro.org> References: <20180228192421.17684-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms v2 1/7] Platform/Socionext/DeveloperBox: fix PCIe slot to B/D/F mapping X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: masahisa.kojima@linaro.org, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Fix the static B/D/F specifiers that refer to the pair of x1 PCIe slots on the DeveloperBox PCB. The current configuration caused user-configurable settings for slots 1/2 to apply to the incorrect one. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Silicon/Socionext/SynQuacer/Include/Platform/Pcie.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Socionext/SynQuacer/Include/Platform/Pcie.h b/Silicon/Socionext/SynQuacer/Include/Platform/Pcie.h index ee2357be9a06..2d3d5cd91be0 100644 --- a/Silicon/Socionext/SynQuacer/Include/Platform/Pcie.h +++ b/Silicon/Socionext/SynQuacer/Include/Platform/Pcie.h @@ -62,7 +62,7 @@ #define SYNQUACER_PCI_LOCATION(s,b,d) (((s) << 16) | ((b) << 8) | (d)) #define SYNQUACER_PCI_SLOT0_LOCATION SYNQUACER_PCI_LOCATION(1, 0, 0) -#define SYNQUACER_PCI_SLOT1_LOCATION SYNQUACER_PCI_LOCATION(0, 1, 7) -#define SYNQUACER_PCI_SLOT2_LOCATION SYNQUACER_PCI_LOCATION(0, 1, 3) +#define SYNQUACER_PCI_SLOT1_LOCATION SYNQUACER_PCI_LOCATION(0, 1, 3) +#define SYNQUACER_PCI_SLOT2_LOCATION SYNQUACER_PCI_LOCATION(0, 1, 7) #endif