aboutsummaryrefslogtreecommitdiff
path: root/include/scsi.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-10-27 20:59:51 -0400
committerTom Rini <trini@konsulko.com>2023-11-07 18:36:06 -0500
commitb630f8b3aefc2d11cdc73314743a6fb16deaf4c5 (patch)
treeaec72ad96d6bf3df382438a6224ec2ee9e886e26 /include/scsi.h
parent1e4d9dd871512e1955e45ac1c3095fb063c0d07c (diff)
scsi: Forceably finish migration to DM_SCSI
The migration deadline for moving to DM_SCSI was v2023.04. A further reminder was sent out in August 2023 to the remaining platforms that had not migrated already, and that a few more over the line (or configs deleted). With this commit we: - Rename CONFIG_DM_SCSI to CONFIG_SCSI. - Remove all of the non-DM SCSI code. This includes removing other legacy symbols and code and removes some legacy non-DM AHCI code. - Some platforms that had previously been DM_SCSI=y && SCSI=n are now fully migrated to DM_SCSI as a few corner cases in the code assumed DM_SCSI=y meant SCSI=y. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/scsi.h')
-rw-r--r--include/scsi.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/scsi.h b/include/scsi.h
index ee9d622680..cf756aa62e 100644
--- a/include/scsi.h
+++ b/include/scsi.h
@@ -10,10 +10,6 @@
#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;
/**
@@ -355,11 +351,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 */