]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - include/scsi.h
Merge tag 'doc-2024-10-rc6' of https://source.denx.de/u-boot/custodians/u-boot-efi
[thirdparty/u-boot.git] / include / scsi.h
index ee9d622680d60a2541cc8152c5f006eebc86ae17..b18ae37b8619ac5cfb0b35297b2ba9699bc08390 100644 (file)
 #include <bouncebuf.h>
 #include <linux/dma-direction.h>
 
-/* Fix this to the maximum */
-#define SCSI_MAX_DEVICE \
-       (CONFIG_SYS_SCSI_MAX_SCSI_ID * CONFIG_SYS_SCSI_MAX_LUN)
-
 struct udevice;
 
 /**
@@ -99,7 +95,6 @@ struct scsi_cmd {
 #define        M_X_WIDE_REQ    (0x03)
 #define        M_X_PPR_REQ     (0x04)
 
-
 /*
 **     Status
 */
@@ -135,7 +130,6 @@ struct scsi_cmd {
 #define SENSE_VOLUME_OVERFLOW  0xD
 #define SENSE_MISCOMPARE                       0xE
 
-
 #define SCSI_CHANGE_DEF        0x40            /* Change Definition (Optional) */
 #define SCSI_COMPARE           0x39            /* Compare (O) */
 #define SCSI_COPY                      0x18            /* Copy (O) */
@@ -355,11 +349,6 @@ int scsi_scan(bool verbose);
  */
 int scsi_scan_dev(struct udevice *dev, bool verbose);
 
-#ifndef CONFIG_DM_SCSI
-void scsi_low_level_init(int busdevfunc);
-void scsi_init(void);
-#endif
-
 #define SCSI_IDENTIFY                                  0xC0  /* not used */
 
 /* Hardware errors  */