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 23C96C433F5 for ; Mon, 23 May 2022 09:16:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B9CB383F48; Mon, 23 May 2022 11:16:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.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=kernel.org header.i=@kernel.org header.b="r4IWvfBh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EF6D183F22; Mon, 23 May 2022 11:16:06 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1BBC083ED8 for ; Mon, 23 May 2022 11:16:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9E1F860FCF; Mon, 23 May 2022 09:16:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF015C34115; Mon, 23 May 2022 09:15:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653297360; bh=99QcfB8X1lMuAXRIDv1Opb2sWSdYnlT9ftDZkoLa8uY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r4IWvfBhmTdOhePeKi3HnSlPjUDGU5FacuL68Vl0N1YBYC8qwlcQCxsXTCD5DK80B hDi3CajZoeisA231Owfzva/Inp255CwB4ClI69Yt60m8G4MQZqmbElsSTfDbUXnqaX CCK8JBm8bGG5FQLIa2JrTZ7XQdHsopUa95uJxz6OCcFg+WEYtZ2/Pw7JSZbXxpfi6G T84PHxZQqFyVE9ONtQLNTDyKuuXjxC+11w6QeOnmEaPqLEbLSywQA1jK/BZjiKjEan zMx6OHUFywRF/2SWsv6AOjM3y9TvAvnPUf3CM6gG8NiOLPnVyPq9l/0+0m+Ibg/636 t7NinheVE0lFw== Received: by pali.im (Postfix) id 80C7FCB2; Mon, 23 May 2022 11:15:57 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Robert Marko Cc: u-boot@lists.denx.de Subject: [PATCH 2/2] arm: mvebu: a3720: Add NVMe to BOOT_TARGET_DEVICES list Date: Mon, 23 May 2022 11:14:36 +0200 Message-Id: <20220523091436.15251-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220523091436.15251-1-pali@kernel.org> References: <20220523091436.15251-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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.5 at phobos.denx.de X-Virus-Status: Clean Enable NVMe booting on boards which have enabled NVMe drivers. Signed-off-by: Pali Rohár --- include/configs/mvebu_armada-37xx.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index 2ed6125f5c43..d656bbc463b2 100644 --- a/include/configs/mvebu_armada-37xx.h +++ b/include/configs/mvebu_armada-37xx.h @@ -58,6 +58,12 @@ #define BOOT_TARGET_DEVICES_SCSI(func) #endif +#ifdef CONFIG_NVME +#define BOOT_TARGET_DEVICES_NVME(func) func(NVME, nvme, 0) +#else +#define BOOT_TARGET_DEVICES_NVME(func) +#endif + #if defined(CONFIG_CMD_DHCP) && defined(CONFIG_CMD_PXE) #define BOOT_TARGET_DEVICES_PXE(func) func(PXE, pxe, na) #else @@ -74,6 +80,7 @@ BOOT_TARGET_DEVICES_MMC(func, 1) \ BOOT_TARGET_DEVICES_MMC(func, 0) \ BOOT_TARGET_DEVICES_USB(func) \ + BOOT_TARGET_DEVICES_NVME(func) \ BOOT_TARGET_DEVICES_SCSI(func) \ BOOT_TARGET_DEVICES_PXE(func) \ BOOT_TARGET_DEVICES_DHCP(func) -- 2.20.1