From mboxrd@z Thu Jan 1 00:00:00 1970 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 9856DC433F5 for ; Thu, 29 Sep 2022 11:38:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9179E84CFE; Thu, 29 Sep 2022 13:38:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ventanamicro.com 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=ventanamicro.com header.i=@ventanamicro.com header.b="e/iC5g62"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A573D84B2B; Thu, 29 Sep 2022 11:57:13 +0200 (CEST) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (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 156B284C61 for ; Thu, 29 Sep 2022 11:57:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mchitale@ventanamicro.com Received: by mail-pj1-x102c.google.com with SMTP id g1-20020a17090a708100b00203c1c66ae3so855375pjk.2 for ; Thu, 29 Sep 2022 02:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=dcau22HmGiY0EjE8OhCAg79mA1uRY3JPiC/94cUqwU8=; b=e/iC5g62fBn4/CACMBfCqPG3QVcCtO8b3Yj4tqsKbsPY9/jeZn89HHAPi88NHipq/t +GW3oCvLQHixfaCEyf8t+GUXv6h3lPRaRbSo7bsXLANZGTksfmO7tH5WO5nDOvuvhLHY cqGLGZ1mNZFbeli5SmnBByLV/nUAAO+3e9CUIFOgVAA78+eZ1q65NEj4THULw0h97ozR lzXcqEh4+pzgZiZs3FvJcIO4brhVXtbhFxSUlqXe9/tqFCRFeiHdTMWHkH/JdXAKqb4b OH/6KyvArMGQSiiqO3rP1z7wuL0ttgYccJApXljdQeFEImxnQjxv/a5Hm4tSE4B2d81+ wLtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=dcau22HmGiY0EjE8OhCAg79mA1uRY3JPiC/94cUqwU8=; b=Oy/dKOIk1lNuUkDMilhX9bdWHnSePRfGJ7vLFiZswd+2tVazcWHXpiJoeokflaVvf7 1RIXQ/o1xc9a+wMMoVPiiCaGrwuhnUquKCCenBm9XhD6UE4RF1prBSO/XO5AliiMnVuU +DsQVT08zmzIcOcejsJ/GyUj4rR/pI75r6ILGWh2fkpIt56mgNPrVMcSab/n3QKNksTp rG6LMGI4lcnlN0GKjvRsLwT+wt1q0yBcQvf6u8MBMzR0Lb8dJ5a2yKbZLk/ICeY2ULFi tP6n7F5DJ1/O0CxyatmSGTlU/0cNKYPwo+5oLBc/ZAEXJnDlqrqYpXcGJlznqHLtxK1W MxGg== X-Gm-Message-State: ACrzQf0xNMzRBfg3yCJIQ9KtbzEJSqzkAdYO8EghVRQQTU0Yf2WOr6ji yLmdOyxz3cLTunhkUxklzV1d2w== X-Google-Smtp-Source: AMsMyM700IC8bHKSMxzsSi6m4aZUUgUe3zy66JccDVRRe2Lu/Vf9E/ri68iZ8ZVFdECRrWpNF1jYCw== X-Received: by 2002:a17:902:ce82:b0:17a:234:cae6 with SMTP id f2-20020a170902ce8200b0017a0234cae6mr2673939plg.174.1664445429318; Thu, 29 Sep 2022 02:57:09 -0700 (PDT) Received: from ThinkPad-T490.dc1.ventanamicro.com ([103.97.165.210]) by smtp.googlemail.com with ESMTPSA id a1-20020a170902710100b00176dee43e0dsm5418139pll.285.2022.09.29.02.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 02:57:08 -0700 (PDT) From: Mayuresh Chitale To: Bin Meng , Simon Glass Cc: Mayuresh Chitale , u-boot@lists.denx.de, Heinrich Schuchardt , Rick Chen , Leo Subject: [RFC PATCH v1 0/3] SPL NVMe support Date: Thu, 29 Sep 2022 15:26:36 +0530 Message-Id: <20220929095639.355675-1-mchitale@ventanamicro.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 29 Sep 2022 13:38:11 +0200 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 patchset adds support to load images of the SPL's next booting stage from a NVMe device. Mayuresh Chitale (3): spl: Add Kconfig options for NVME nvme: pci: Enable for SPL common: spl: Add spl NVMe boot support arch/riscv/include/asm/spl.h | 1 + common/spl/Kconfig | 25 ++++++++++++++++++++ common/spl/Makefile | 1 + common/spl/spl_nvme.c | 44 ++++++++++++++++++++++++++++++++++++ drivers/Makefile | 2 +- drivers/nvme/Makefile | 2 +- drivers/nvme/nvme_pci.c | 1 + drivers/pci/Kconfig | 7 ++++++ drivers/pci/pci-uclass.c | 3 ++- 9 files changed, 83 insertions(+), 3 deletions(-) create mode 100644 common/spl/spl_nvme.c -- 2.25.1