summaryrefslogtreecommitdiff
path: root/api
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 /api
parent1e4d9dd871512e1955e45ac1c3095fb063c0d07c (diff)
downloadu-boot-b630f8b3aefc2d11cdc73314743a6fb16deaf4c5.tar.gz
u-boot-b630f8b3aefc2d11cdc73314743a6fb16deaf4c5.tar.bz2
u-boot-b630f8b3aefc2d11cdc73314743a6fb16deaf4c5.zip
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 'api')
-rw-r--r--api/api_storage.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/api/api_storage.c b/api/api_storage.c
index 997e8727a9..78becbe39f 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -67,13 +67,6 @@ void dev_stor_init(void)
specs[ENUM_SATA].type = DEV_TYP_STOR | DT_STOR_SATA;
specs[ENUM_SATA].name = "sata";
#endif
-#if defined(CONFIG_SCSI)
- specs[ENUM_SCSI].max_dev = SCSI_MAX_DEVICE;
- specs[ENUM_SCSI].enum_started = 0;
- specs[ENUM_SCSI].enum_ended = 0;
- specs[ENUM_SCSI].type = DEV_TYP_STOR | DT_STOR_SCSI;
- specs[ENUM_SCSI].name = "scsi";
-#endif
#if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
specs[ENUM_USB].max_dev = USB_MAX_STOR_DEV;
specs[ENUM_USB].enum_started = 0;