Skip to contentSkip to conversation

arm: mvebu: clearfog: add scsi target to distro-boot

PATCH New Josua Mayer 2 participants 2 messages Feb 17, 2020 – Feb 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mvebu: clearfog: add scsi target to distro-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.

---
 include/configs/clearfog.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/configs/clearfog.h +7 -0
index 633187d86f..33c71b3d51 100644
@@ -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)
Signature · 1 line
2.25.0
#1 lore raw

PATCH 1/1 arm: mvebu: clearfog: add scsi target to distro-boot

Quoted 6 lines · Josua Mayer

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.

Thanks,
Stefan

Quoted 23 lines
---
  include/configs/clearfog.h | 7 +++++++
  1 file changed, 7 insertions(+)
include/configs/clearfog.h +6 -0
index 633187d86f..33c71b3d51 100644
@@ -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

include/configs/clearfog.h line 124

Quoted 7 lines
include/configs/clearfog.h +1 -0
@@ -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

Signature · 3 lines
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