At present we have the SCSI drivers in the drivers/block and common/ directories. It is better to split them out into their own place. Use drivers/scsi which is what Linux does. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>master
parent
f2105c6182
commit
0fcd48fe00
@ -0,0 +1,17 @@ |
||||
config SCSI |
||||
bool "Support SCSI controllers" |
||||
help |
||||
This enables support for SCSI (Small Computer System Interface), |
||||
a parallel interface widely used with storage peripherals such as |
||||
hard drives and optical drives. The SCSI standards define physical |
||||
interfaces as well as protocols for controlling devices and |
||||
tranferring data. |
||||
|
||||
config DM_SCSI |
||||
bool "Support SCSI controllers with driver model" |
||||
depends on BLK |
||||
help |
||||
This option enables the SCSI (Small Computer System Interface) uclass |
||||
which supports SCSI and SATA HDDs. For every device configuration |
||||
(IDs/LUNs) a block device is created with RAW read/write and |
||||
filesystem support. |
@ -0,0 +1,20 @@ |
||||
#
|
||||
# (C) Copyright 2000-2007
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
ifndef CONFIG_SPL_BUILD |
||||
obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
|
||||
obj-$(CONFIG_SCSI) += scsi.o
|
||||
endif |
||||
|
||||
ifdef CONFIG_SPL_BUILD |
||||
ifdef CONFIG_SPL_SATA_SUPPORT |
||||
obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
|
||||
obj-$(CONFIG_SCSI) += scsi.o
|
||||
endif |
||||
endif |
||||
|
||||
obj-$(CONFIG_SANDBOX) += sandbox_scsi.o
|
Loading…
Reference in new issue