* [PATCH] arm: mvebu: clearfog: add scsi target to distro-boot
@ 2020-02-17 18:37 Josua Mayer
2020-02-19 7:16 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Josua Mayer @ 2020-02-17 18:37 UTC (permalink / raw)
To: u-boot
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 <josua@solid-run.com>
Cc: Stefan Roese <sr@denx.de>
---
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)
--
2.25.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] arm: mvebu: clearfog: add scsi target to distro-boot
2020-02-17 18:37 [PATCH] arm: mvebu: clearfog: add scsi target to distro-boot Josua Mayer
@ 2020-02-19 7:16 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2020-02-19 7:16 UTC (permalink / raw)
To: u-boot
On 17.02.20 19:37, Josua Mayer wrote:
> 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 <josua@solid-run.com>
> Cc: Stefan Roese <sr@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
Thanks,
Stefan
> ---
> 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)
>
Viele Gr??e,
Stefan
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-19 7:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-17 18:37 [PATCH] arm: mvebu: clearfog: add scsi target to distro-boot Josua Mayer
2020-02-19 7:16 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox