From patchwork Thu Mar 21 14:55:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 781556 Delivered-To: patch@linaro.org Received: by 2002:adf:cf01:0:b0:33e:7753:30bd with SMTP id o1csp872698wrj; Thu, 21 Mar 2024 07:56:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXju1b70iI37O6/kJlpJ5cyuR6MBc2KQxwi4cUUe6VZtDBit6e5GNhLBJPfH52Y4IFyBxvCjHbNzEQANchTsD5y X-Google-Smtp-Source: AGHT+IFX/KhDdXuSrDPhVTgOOIlQ911Y5E7/TEFz1A70Ew3UxQYsHRxib60dUGiHNhi6qcr+NFek X-Received: by 2002:a05:600c:1395:b0:413:271d:8889 with SMTP id u21-20020a05600c139500b00413271d8889mr2126508wmf.11.1711033018172; Thu, 21 Mar 2024 07:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711033018; cv=none; d=google.com; s=arc-20160816; b=DwDRwOBuHKAZzYG62/S8RnEb773qg3kcCOmAZ/Ss3jYxd+5x0z/vxANr0eEZCs18uA jZFvBqn5isER1ZGmK82D9a1gjJGBQioiwURl2McQ8exRiyC8rgatVLzS65sojiTDSv43 qkBA6DgXaPiWcIZVZClAn9ZTbQWZ2NoZmMR/lBR7iT4dFq0shO7vSHs4JBFclbyzwwdc vUyjlIQU40l1xUsgAI/zIM4oBjY4wq9d5QlQapILN0U5DVM3BlMbOVrtoqpfWFEB2Zp8 4+HjO5ePlBcTGIG7ev+TbCBhA+eOWY1/uxfDIZnPUVUn1HlVsGCZvYLm45uwyPn61x7r Tq8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FQSdlyuHyjO3evVA1Zxr8iEviGz+bLT9UGQ9oBc3nSw=; fh=VdJh2CIruktabdbGEB/DD0cYU5gcKvSFlbIGzVRuS8s=; b=Jj0psRFE3qM/cGe7cOk7xrsEbrQjRHlnc2SsZml7gz86V2xiMRqe38sUAJknozhq10 kkyiXDK61ZaDS3QSzHp936Z4iHlnN+cvbqod0xmNH8XvuSP0qkZoRfMzBU5EhUUpFjoI UmZ9NdSDUmliqodGYnYlwstacbXeECrk34Rr4CLDfta/atrM/K6OcjYu77EUOdT5Q1AM FBfBTWz9ZHBgcddchjIVaEU1Ryha8oMmDcBqt6/YKxcVpkQQCuH6PdAYM6aNuwFco2sK 2UlhlMbO7RM18zG3E5/xqPJfhsAyU61tsQImMMhGQVhvK47BRw98GsZOtK7Zynyi4Hq2 sRKQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FkZCMC63; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id l34-20020a05600c1d2200b0041403f51f35si2387273wms.194.2024.03.21.07.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 07:56:58 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FkZCMC63; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7818D8810D; Thu, 21 Mar 2024 15:56:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="FkZCMC63"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8FAD887F1E; Thu, 21 Mar 2024 15:56:25 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (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 DD9528810D for ; Thu, 21 Mar 2024 15:56:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1dff837d674so8482595ad.3 for ; Thu, 21 Mar 2024 07:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711032979; x=1711637779; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FQSdlyuHyjO3evVA1Zxr8iEviGz+bLT9UGQ9oBc3nSw=; b=FkZCMC63AB1Jm4NAvFFAuOWTbBAiI+OloTr0lPAKyrjSgSAW4GmHffHtQs0ESWskn0 PWx+GdXsfB70wmiOT9ziY3SRZGzARgkgy1Axqk24rVRpvpCslwtiaUfCOrSYO442Xhh/ oBFjFU95rlp+SxB7e33IDGL964yrNSqcEE6eoKl3E5gDZYFzkqvoTznYfVsgiRxBvAFi JMCZ7a7PFPiIICQeLIxLWWNoPUFpgonMAFo+IY+I4uCUvxziaFiouY44hHRBWFYNDvmS X7IsgH30OQVvrfbTECWD5ytF94Tp+7qEitOpzRc0tYoJQLq4Cfe3Fjh0omE5NcxzIh1c IAmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711032979; x=1711637779; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FQSdlyuHyjO3evVA1Zxr8iEviGz+bLT9UGQ9oBc3nSw=; b=HIVqAH521BbfoX7opsJgFmplmoH0vXygwNwvm1YHjGuDfPw6DkWUEpYEXYt96hqb2W qvRSJGdGzqidj9x1sU5XvVR9oXBDPUjjvL39CGgDiNleWcpKDzYBEKGoOk0OZFhc/xHW ShYH3ZPi6bcUbPTulVlLqPxICjQ1LrKl+IyiV/bJjWVeGh/KyQjD8Ii7812ouZtwGzJl yo6Max8rMj+77DlwQPUjbzsvhqMSWb2Hzo12xSECUwqhldAMGFX0ytR9UdOmy3e45mxV qqzfNY5CoqZytwJ9iIZ+KmuD7RzKRUJMDqvBWYf6/K1cqUVAEQLpjtVzDXHFj/83D/Hu ewGg== X-Gm-Message-State: AOJu0YwXdjG27U68tabzGLto4+KwGjEU5WdbpWjbntCiqdeYBhiwDNiS EG/UQoFyJz/rCgNuprwlWZwV/IlvcK5x5coxhKBJ0US+R26Zr0ZiH6lP/SHLcbaqjHMwsD8Xi1E n X-Received: by 2002:a17:902:7847:b0:1e0:2335:8f68 with SMTP id e7-20020a170902784700b001e023358f68mr4636036pln.26.1711032979710; Thu, 21 Mar 2024 07:56:19 -0700 (PDT) Received: from sumit-X1.. ([223.178.211.159]) by smtp.gmail.com with ESMTPSA id j9-20020a170902da8900b001dddb014624sm11751668plx.54.2024.03.21.07.56.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 07:56:19 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: trini@konsulko.com, tharvey@gateworks.com, marcel.ziswiler@toradex.com, francesco@dolcini.it, lukma@denx.de, seanga2@gmail.com, jh80.chung@samsung.com, sjg@chromium.org, festevam@denx.de, andrejs.cainikovs@toradex.com, peng.fan@nxp.com, aford173@gmail.com, marex@denx.de, ilias.apalodimas@linaro.org, sahaj.sarup@linaro.org, fathi.boudra@linaro.org, remi.duraffort@linaro.org, daniel.thompson@linaro.org, pbrobinson@gmail.com, Sumit Garg , Francesco Dolcini Subject: [PATCH v4 09/11] verdin-imx8mp_defconfig: Enable PCIe/NVMe support Date: Thu, 21 Mar 2024 20:25:05 +0530 Message-Id: <20240321145507.619448-10-sumit.garg@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321145507.619448-1-sumit.garg@linaro.org> References: <20240321145507.619448-1-sumit.garg@linaro.org> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Enable PCIe/NVMe support. Also, enable the reset driver which is a prerequisite for PCIe support. Acked-by: Francesco Dolcini Tested-by: Marcel Ziswiler Signed-off-by: Sumit Garg --- configs/verdin-imx8mp_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/verdin-imx8mp_defconfig b/configs/verdin-imx8mp_defconfig index 7ac5e65642c..b6194404baa 100644 --- a/configs/verdin-imx8mp_defconfig +++ b/configs/verdin-imx8mp_defconfig @@ -16,6 +16,7 @@ CONFIG_DEFAULT_DEVICE_TREE="imx8mp-verdin-wifi-dev" CONFIG_SPL_TEXT_BASE=0x920000 CONFIG_TARGET_VERDIN_IMX8MP=y CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_DM_RESET=y CONFIG_SYS_MONITOR_LEN=524288 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y @@ -26,6 +27,7 @@ CONFIG_SPL=y CONFIG_IMX_BOOTAUX=y CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000 CONFIG_SYS_LOAD_ADDR=0x48200000 +CONFIG_PCI=y CONFIG_SYS_MEMTEST_START=0x40000000 CONFIG_SYS_MEMTEST_END=0x80000000 CONFIG_REMAKE_ELF=y @@ -76,6 +78,7 @@ CONFIG_CMD_FUSE=y CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y +CONFIG_CMD_PCI=y CONFIG_CMD_READ=y CONFIG_CMD_USB=y CONFIG_CMD_USB_MASS_STORAGE=y @@ -145,8 +148,11 @@ CONFIG_DWC_ETH_QOS_IMX=y CONFIG_FEC_MXC=y CONFIG_RGMII=y CONFIG_MII=y +CONFIG_NVME_PCI=y +CONFIG_PCIE_DW_IMX=y CONFIG_PHY=y CONFIG_PHY_IMX8MQ_USB=y +CONFIG_PHY_IMX8M_PCIE=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_PINCTRL_IMX8M=y