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 B4A3BC46467 for ; Sat, 7 Jan 2023 22:33:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1A8348533F; Sat, 7 Jan 2023 23:33:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=aurel32.net 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; secure) header.d=aurel32.net header.i=@aurel32.net header.b="hJLhUZHJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D1EBF85355; Sat, 7 Jan 2023 23:33:05 +0100 (CET) Received: from hall.aurel32.net (hall.aurel32.net [IPv6:2001:bc8:30d7:100::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B648085282 for ; Sat, 7 Jan 2023 23:33:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=aurel32.net Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=aurelien@aurel32.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date: Subject:Cc:To:From:Content-Type:From:Reply-To:Subject:Content-ID: Content-Description:In-Reply-To:References:X-Debbugs-Cc; bh=m0GwB6huB+vvd1lTMsMzR2iwvecMSh7TeEUuR/XiJno=; b=hJLhUZHJDGDiV+DLuJG4+1jDuQ f18oOCvvBTAzkQ4Ls99IPa46QdiimSCMRR8OWU1VG/JveJkg7RhX3HpymoqPO4bFffYotmDRcuBDy gkFP1fp5NqJtldTO5rZPIaFGek3clwS8oNnon7wYJ1ZeHWhpPda+2uepc+V0bw1/iPsJUL+3sORrj Vjjl18z76u1W3z0KwN3T8S7vJX8oVj0w0kKi0+9wwrVG2KH6kG36mSQcr/6knBjGNdF8RN1KW0tUB uKDO/11VC1gUa/CwNdCUx1ByTYWgzgSbeWyKcAU52V+RE1QvcmN8j+SXq+ke/kqLRxhpuIftJgaUq LFb8q5Ng==; Received: from [2a01:e34:ec5d:a741:8a4c:7c4e:dc4c:1787] (helo=ohm.rr44.fr) by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pEHkK-000Xf5-1H; Sat, 07 Jan 2023 23:33:00 +0100 Received: from aurel32 by ohm.rr44.fr with local (Exim 4.96) (envelope-from ) id 1pEHkJ-00A1Ep-1q; Sat, 07 Jan 2023 23:32:59 +0100 From: Aurelien Jarno To: Paul Walmsley , Pragnesh Patel , Green Wan Cc: u-boot@lists.denx.de (open list), Aurelien Jarno Subject: [PATCH] board: sifive: unmatched: enable booting on a second NVME device Date: Sat, 7 Jan 2023 23:32:39 +0100 Message-Id: <20230107223239.2387940-1-aurelien@aurel32.net> X-Mailer: git-send-email 2.35.1 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 The HiFive Unmatched board has a M2 slot for NVME and a PCIe slot that can also be used for NVME. Enable support for a second NVME device, so that software RAID-1 configurations can be supported at the u-boot level. Signed-off-by: Aurelien Jarno --- include/configs/sifive-unmatched.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h index 85fab92719..9261932af9 100644 --- a/include/configs/sifive-unmatched.h +++ b/include/configs/sifive-unmatched.h @@ -19,6 +19,7 @@ #define BOOT_TARGET_DEVICES(func) \ func(NVME, nvme, 0) \ + func(NVME, nvme, 1) \ func(USB, usb, 0) \ func(MMC, mmc, 0) \ func(SCSI, scsi, 0) \ -- 2.35.1