Skip to content

Commit

Permalink
Support block devices based on SCSI for zynqmp target
Browse files Browse the repository at this point in the history
The usb-storage driver needs this options to create the associated
block device when we insert a usb memory stick.

Additionally, the zynq configuration was simplified to use the same
SCSI related options (by removing unneeded ones)
  • Loading branch information
EmilioPeJu committed Sep 19, 2024
1 parent aee0499 commit 75eec51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions kernel/zynq.config
Original file line number Diff line number Diff line change
Expand Up @@ -1139,15 +1139,15 @@ CONFIG_SCSI_MOD=y
CONFIG_SCSI_COMMON=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_PROC_FS=y
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SG is not set
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_CONSTANTS is not set
Expand All @@ -1165,11 +1165,7 @@ CONFIG_CHR_DEV_SG=y
# CONFIG_SCSI_SRP_ATTRS is not set
# end of SCSI Transports

CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_VIRTIO is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# end of SCSI device support

Expand Down
2 changes: 1 addition & 1 deletion kernel/zynqmp.config
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@ CONFIG_SCSI_DMA=y
#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
Expand Down

0 comments on commit 75eec51

Please sign in to comment.