xref: /openbmc/u-boot/drivers/block/Kconfig (revision 10e40d54)
1config BLK
2	bool "Support block devices"
3	depends on DM
4	default y if DM_MMC
5	help
6	  Enable support for block devices, such as SCSI, MMC and USB
7	  flash sticks. These provide a block-level interface which permits
8	  reading, writing and (in some cases) erasing blocks. Block
9	  devices often have a partition table which allows the device to
10	  be partitioned into several areas, called 'partitions' in U-Boot.
11	  A filesystem can be placed in each partition.
12
13config AHCI
14	bool "Support SATA controllers with driver model"
15	depends on DM
16	help
17	  This enables a uclass for disk controllers in U-Boot. Various driver
18	  types can use this, such as AHCI/SATA. It does not provide any standard
19	  operations at present. The block device interface has not been converted
20	  to driver model.
21
22config SATA
23	bool "Support SATA controllers"
24	help
25	  This enables support for SATA (Serial Advanced Technology
26	  Attachment), a serial bus standard for connecting to hard drives and
27	  other storage devices.
28
29	  SATA replaces PATA (originally just ATA), which stands for Parallel AT
30	  Attachment, where AT refers to an IBM AT (Advanced Technology)
31	  computer released in 1984.
32
33	  See also CMD_SATA which provides command-line support.
34
35config SCSI
36	bool "Support SCSI controllers"
37	help
38	  This enables support for SCSI (Small Computer System Interface),
39	  a parallel interface widely used with storage peripherals such as
40	  hard drives and optical drives. The SCSI standards define physical
41	  interfaces as well as protocols for controlling devices and
42	  tranferring data.
43
44config DM_SCSI
45	bool "Support SCSI controllers with driver model"
46	depends on BLK
47	help
48	  This option enables the SCSI (Small Computer System Interface) uclass
49	  which supports SCSI and SATA HDDs. For every device configuration
50	  (IDs/LUNs) a block device is created with RAW read/write and
51	  filesystem support.
52
53config BLOCK_CACHE
54	bool "Use block device cache"
55	default n
56	help
57	  This option enables a disk-block cache for all block devices.
58	  This is most useful when accessing filesystems under U-Boot since
59	  it will prevent repeated reads from directory structures and other
60	  filesystem data structures.
61
62menu "SATA/SCSI device support"
63
64config SATA_CEVA
65	bool "Ceva Sata controller"
66	depends on AHCI
67	depends on DM_SCSI
68	help
69	  This option enables Ceva Sata controller hard IP available on Xilinx
70	  ZynqMP. Support up to 2 external devices. Complient with SATA 3.1 and
71	  AHCI 1.3 specifications with hot-plug detect feature.
72
73
74config DWC_AHCI
75	bool "Enable Synopsys DWC AHCI driver support"
76	select SCSI_AHCI
77	select PHY
78	depends on DM_SCSI
79	help
80	  Enable this driver to support Sata devices through
81	  Synopsys DWC AHCI module.
82
83endmenu
84
85config IDE
86	bool "Support IDE controllers"
87	help
88	  Enables support for IDE (Integrated Drive Electronics) hard drives.
89	  This allows access to raw blocks and filesystems on an IDE drive
90	  from U-Boot. See also CMD_IDE which provides an 'ide' command for
91	  performing various IDE operations.
92