From patchwork Mon Feb 17 18:37:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 1239539 X-Patchwork-Delegate: sr@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=jm0.eu header.i=@jm0.eu header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=DzF9P4Cw; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Ltv10RvHz9sPJ for ; Tue, 18 Feb 2020 06:13:45 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 575C580828; Mon, 17 Feb 2020 20:13:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=jm0.eu header.i=@jm0.eu header.b="DzF9P4Cw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BB397811EE; Mon, 17 Feb 2020 19:37:53 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mo6-p05-ob.smtp.rzone.de (mo6-p05-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5305::11]) (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 CE1F28082C for ; Mon, 17 Feb 2020 19:37:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=josua@solid-run.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1581964670; s=strato-dkim-0002; d=jm0.eu; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=cnkRNXwuzDh4J3vDLudBwPF5IQOWSsJWym6Vwukm6EU=; b=DzF9P4Cw0O/dd1NOfaIEYb5XlpxKj1TNgPb/X8DvBUQaxuanTCPz6BmjQffySCfHZx qSWA+JSE3jvo/abKLOUmHM6QnD6rdjJ88Jpun0Q9uYvlG8s7jrAmFjjZafL78U6ZnZcL N9JyDihUlZv0pr2qPmfkEuYG/ZxgMGooe8kogyQIv5H94l1y1/mTqptIhNtY0hYar3Xo fZV6wB2+Flpwbfvv8p3Elj4Ct1mbcJJdtBK6sijJ+PFDmCxN71tYyLeoAUUg3jxfy2Ie EF2ENAvvO5cwQyVjD6fVkwCUdxzA1lesqDUZvUBoRta4XFI+GmQHu9OB8HZ6Z7lNG75Y p55A== X-RZG-AUTH: ":JmMXYEHmdv4HaV2cbPh7iS0wbr/uKIfGM0EPWe8EZQbw/dDJ/fVPBaDTVCeNtuGnqrOK7I1YQb+ggZSgjAUx" X-RZG-CLASS-ID: mo05 Received: from localhost.lan by smtp.strato.de (RZmta 46.1.12 AUTH) with ESMTPSA id L09b9cw1HIbnzir (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 17 Feb 2020 19:37:49 +0100 (CET) From: Josua Mayer To: u-boot@lists.denx.de Cc: Josua Mayer , Stefan Roese Subject: [PATCH] arm: mvebu: clearfog: add scsi target to distro-boot Date: Mon, 17 Feb 2020 19:37:28 +0100 Message-Id: <20200217183728.8421-1-josua@solid-run.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 17 Feb 2020 20:13:35 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.1 at phobos.denx.de X-Virus-Status: Clean Support for sata devices via the scsi command is available and already enabled by default for the Clearfog Base and Pro. This change adds scsi to the list of boot targets used by distro-boot. Signed-off-by: Josua Mayer Cc: Stefan Roese Reviewed-by: Stefan Roese --- include/configs/clearfog.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h index 633187d86f..33c71b3d51 100644 --- a/include/configs/clearfog.h +++ b/include/configs/clearfog.h @@ -104,6 +104,12 @@ #define BOOT_TARGET_DEVICES_MMC(func) #endif +#ifdef CONFIG_SCSI +#define BOOT_TARGET_DEVICES_SCSI(func) func(SCSI, scsi, 0) +#else +#define BOOT_TARGET_DEVICES_SCSI(func) +#endif + #ifdef CONFIG_USB_STORAGE #define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0) #else @@ -112,6 +118,7 @@ #define BOOT_TARGET_DEVICES(func) \ BOOT_TARGET_DEVICES_MMC(func) \ + BOOT_TARGET_DEVICES_SCSI(func) \ BOOT_TARGET_DEVICES_USB(func) \ func(PXE, pxe, na) \ func(DHCP, dhcp, na)