xref: /openbmc/u-boot/drivers/block/Kconfig (revision fedb428c5beb8776451118f5adc976770a526a33)
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 SCSI
23	bool "Support SCSI controllers"
24	help
25	  This enables support for SCSI (Small Computer System Interface),
26	  a parallel interface widely used with storage peripherals such as
27	  hard drives and optical drives. The SCSI standards define physical
28	  interfaces as well as protocols for controlling devices and
29	  tranferring data.
30
31config DM_SCSI
32	bool "Support SCSI controllers with driver model"
33	depends on BLK
34	help
35	  This option enables the SCSI (Small Computer System Interface) uclass
36	  which supports SCSI and SATA HDDs. For every device configuration
37	  (IDs/LUNs) a block device is created with RAW read/write and
38	  filesystem support.
39
40config BLOCK_CACHE
41	bool "Use block device cache"
42	default n
43	help
44	  This option enables a disk-block cache for all block devices.
45	  This is most useful when accessing filesystems under U-Boot since
46	  it will prevent repeated reads from directory structures and other
47	  filesystem data structures.
48
49menu "SATA/SCSI device support"
50
51config SATA_CEVA
52	bool "Ceva Sata controller"
53	depends on AHCI
54	depends on DM_SCSI
55	help
56	  This option enables Ceva Sata controller hard IP available on Xilinx
57	  ZynqMP. Support up to 2 external devices. Complient with SATA 3.1 and
58	  AHCI 1.3 specifications with hot-plug detect feature.
59
60
61config DWC_AHCI
62	bool "Enable Synopsys DWC AHCI driver support"
63	select SCSI_AHCI
64	select PHY
65	depends on DM_SCSI
66	help
67	  Enable this driver to support Sata devices through
68	  Synopsys DWC AHCI module.
69
70endmenu
71
72config IDE
73	bool "Support IDE controllers"
74	help
75	  Enables support for IDE (Integrated Drive Electronics) hard drives.
76	  This allows access to raw blocks and filesystems on an IDE drive
77	  from U-Boot. See also CMD_IDE which provides an 'ide' command for
78	  performing various IDE operations.
79