Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71211C433EF for ; Mon, 20 Jun 2022 12:10:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1FD9783E49; Mon, 20 Jun 2022 14:08:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Xm4Uifr8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3FA7B8015D; Mon, 20 Jun 2022 14:08:19 +0200 (CEST) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 32FD3820F1 for ; Mon, 20 Jun 2022 14:08:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2c.google.com with SMTP id q4so3459145qvq.8 for ; Mon, 20 Jun 2022 05:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=OwA+yf8CyvkH43U3UqzqPyjmumMwa4rDuIPxyeVZDGk=; b=Xm4Uifr8k7uCVDxEpvpenMkFftifmKRYwFl5/0u2gin0QK+BfkNK1AyJ7GFmL9AlZw xjyI1oEvFqZL8XFMPsQJx+ZPV6/Rwd1b3Z2PDBT+weJQJKKtTqFLZruEWmmEK24WIBWE +ot+SyAhDgHku7Kx05sB7zY+hDcCCarFsE8QY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OwA+yf8CyvkH43U3UqzqPyjmumMwa4rDuIPxyeVZDGk=; b=ugIjogguXVQBMT9zq0lvoNwk+vHyGtL1JXRf53ax7W+F1B9KUlPDPAW0NxGc/AEIzR qnRhyr4KQ5UZrpo/o8BLUtwxzJU9QxYqCmB1ulZr+llg85AA3TVDJVMQFu/+Rtbpotkp F0uGReVEcwfKr7b/HHiJ8ZPn24yCcynyx/esB5eoKSk+Ea6iIFto9+IOhZG6/l1fn6E0 k4oM2o6F59/zxzvDBCXVIrFZMeCHFMVaPoCTzwk6zxtQ5dkQ9XDREI+t6bj/drVjnQhR Cq6MO7K5T7ku3nC2BiGvo5VKCfe4qvfFRiUBtWuM3eAZO9aoLPbyJzofKGr40PhFTlH4 n22A== X-Gm-Message-State: AJIora/yEF5tdbJBB6QELr5lr56if6wyendWBHXVWADrF5VDVyX506YD 8HlGOdq6JZrF24PFzcoYu0qxRI7kyX666g== X-Google-Smtp-Source: AGRyM1vig0HwAt3rbEZ6tTB2iZt5F4EBBikW5/WceFoOUaIowxOqM2znVuY7gOGlQCqtl/yNPMc95A== X-Received: by 2002:ac8:7d87:0:b0:304:ffc3:dc08 with SMTP id c7-20020ac87d87000000b00304ffc3dc08mr19597468qtd.191.1655726892588; Mon, 20 Jun 2022 05:08:12 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id x9-20020a05620a448900b006a6a904c0a5sm11763312qkp.107.2022.06.20.05.08.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 05:08:12 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 15/17] Convert CONFIG_SYS_FSL_PCI_VER_3_X to Kconfig Date: Mon, 20 Jun 2022 08:07:56 -0400 Message-Id: <20220620120758.765049-15-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220620120758.765049-1-trini@konsulko.com> References: <20220620120758.765049-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_SYS_FSL_PCI_VER_3_X Signed-off-by: Tom Rini --- arch/powerpc/include/asm/config_mpc85xx.h | 2 -- drivers/pci/Kconfig | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h index ce3a776c7e88..a43e6e5e538b 100644 --- a/arch/powerpc/include/asm/config_mpc85xx.h +++ b/arch/powerpc/include/asm/config_mpc85xx.h @@ -195,7 +195,6 @@ #define CONFIG_SYS_FSL_SRIO_LIODN #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY -#define CONFIG_SYS_FSL_PCI_VER_3_X #elif defined(CONFIG_ARCH_B4860) || defined(CONFIG_ARCH_B4420) #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ @@ -293,7 +292,6 @@ #define CONFIG_SYS_NUM_FMAN 1 #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 } #define CONFIG_SYS_FSL_SRDS_1 -#define CONFIG_SYS_FSL_PCI_VER_3_X #if defined(CONFIG_ARCH_T2080) #define CONFIG_SYS_NUM_FM1_DTSEC 8 #define CONFIG_SYS_NUM_FM1_10GEC 4 diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index e4c60561ee5d..436acca898e4 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -133,8 +133,12 @@ config PCIE_DW_SIFIVE Say Y here if you want to enable PCIe controller support on FU740. +config SYS_FSL_PCI_VER_3_X + bool + config PCIE_FSL bool "FSL PowerPC PCIe support" + select SYS_FSL_PCI_VER_3_X if ARCH_T2080 || ARCH_T4240 help Say Y here if you want to enable PCIe controller support on FSL PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs. -- 2.25.1