From patchwork Tue Oct 29 21:07:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suneel Garapati X-Patchwork-Id: 1186295 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="p7jsExcP"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 472kn86dk6z9sCJ for ; Wed, 30 Oct 2019 08:12:28 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 8B799C21E2F; Tue, 29 Oct 2019 21:09:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B41CCC21DFB; Tue, 29 Oct 2019 21:08:37 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 14779C21D83; Tue, 29 Oct 2019 21:08:34 +0000 (UTC) Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by lists.denx.de (Postfix) with ESMTPS id 21A96C21C27 for ; Tue, 29 Oct 2019 21:08:28 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id q16so8046545pll.11 for ; Tue, 29 Oct 2019 14:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j/R/3shJVNflm3tuWfTF8cyJLZXPO8i9ijRKSBMogTs=; b=p7jsExcPRqW1y8y9cE1TD80WG9EXw8AZr7X1o7uMSarjmr7sg1waef8+BGylCoZ0+J leTdEEQwwG1Q9j3V8/TTElC/IlwNyDWhCjTu3oatSst16QmWjcbyJSWhBcdKWDokkH3p mkHLqLCi6viTvy0anGoGExgWOKJUry3JmSOEx8jy+6GrPb3L8B7CehD82PC5uBXZzx+u oaNk5K9SjlvjIQdko7Ew1HolzB48OVR+WfO5oJV5XHgfJwaaGu3x1Jq64VBEoxodQpM9 mweHZ5V4HPdyTxMaSnIqEWn9y84jlzFd/hkIftIZWLEnujTvjyrbWBxBbFnKAA7/rURd SbMg== 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=j/R/3shJVNflm3tuWfTF8cyJLZXPO8i9ijRKSBMogTs=; b=h+LF5Gx/fuz78Dte2L6PoHl+t4wpsEbi6NUOAyBLpaBaYUIamVXs4Hj9MnuLrbIu4o YJLiT5Q1Z38hNrdk7ajIufDg3jDIZmmIk33yULDuit4UKh3irDotA9Mibpz786iYqwQN 0bZCYp0xhMhhFL0YLU5MIG4ksaR14cemeiL9DEJvq/8gtB3gTCBu4Arj6VCo+hvso8g7 FX+5p/8YiryyWPcl2BZ/pvWEYuJF/qmtwjtvmTPbU82b0d6z3TNqNaglzdJyY5/LcjN/ 0jcoGzLpLc1lZ+UkLB9lFQjrhouZj3ep9BwVyjOubGpkcyTPdHq/hk7kr/nET/2asS86 uUZw== X-Gm-Message-State: APjAAAX6YnCHG+iNmBPgLig/2lG10rF8EX9fPX4kbfV7wpDLuisz+Z53 AnQAbhYzp8hZSS9p06+Hs9QSWPBcwCw= X-Google-Smtp-Source: APXvYqxfTXf+RSFLQ3b5nEfmDlnZfygY3T9jtlRVikU3+Za+vQb1kKsnPwy1LEVMrQfdH/Yzjfd+hQ== X-Received: by 2002:a17:902:4e:: with SMTP id 72mr35046pla.270.1572383306143; Tue, 29 Oct 2019 14:08:26 -0700 (PDT) Received: from suneel.hsd1.ca.comcast.net ([2601:641:4000:c9c0:7044:5eef:7096:2413]) by smtp.gmail.com with ESMTPSA id q3sm131160pgj.54.2019.10.29.14.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 14:08:25 -0700 (PDT) From: Suneel Garapati To: u-boot Date: Tue, 29 Oct 2019 14:07:54 -0700 Message-Id: <20191029210821.1954-3-suneelglinux@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191029210821.1954-1-suneelglinux@gmail.com> References: <20191029210821.1954-1-suneelglinux@gmail.com> MIME-Version: 1.0 Cc: Tom Rini , Matthias Brugger , Joe Hershberger , Prasun Kapoor , Maen Suleiman , Chandrakala Chavva , Zi Shen Lim , Stefan Roese , Chris Packham Subject: [U-Boot] [RFC PATCH 02/29] include: pci: Increase max pci region limit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Suneel Garapati Increase MAX_PCI_REGIONS limit from 7 to 10. For some SoC's like OcteonTX/TX2 where everything is on PCI bus there is need for extra entries to support required peripherals. Signed-off-by: Suneel Garapati --- include/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pci.h b/include/pci.h index ff59ac0e69..0b14842285 100644 --- a/include/pci.h +++ b/include/pci.h @@ -567,7 +567,7 @@ extern void pci_cfgfunc_do_nothing(struct pci_controller* hose, pci_dev_t dev, extern void pci_cfgfunc_config_device(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *); -#define MAX_PCI_REGIONS 7 +#define MAX_PCI_REGIONS 10 #define INDIRECT_TYPE_NO_PCIE_LINK 1