xref: /openbmc/u-boot/drivers/block/Kconfig (revision 560eeee8)
109d71aacSSimon Glassconfig BLK
209d71aacSSimon Glass	bool "Support block devices"
309d71aacSSimon Glass	depends on DM
4896a74f6SSimon Glass	default y if DM_MMC
509d71aacSSimon Glass	help
609d71aacSSimon Glass	  Enable support for block devices, such as SCSI, MMC and USB
709d71aacSSimon Glass	  flash sticks. These provide a block-level interface which permits
809d71aacSSimon Glass	  reading, writing and (in some cases) erasing blocks. Block
909d71aacSSimon Glass	  devices often have a partition table which allows the device to
1009d71aacSSimon Glass	  be partitioned into several areas, called 'partitions' in U-Boot.
1109d71aacSSimon Glass	  A filesystem can be placed in each partition.
1209d71aacSSimon Glass
13c4d660d4SSimon Glassconfig SPL_BLK
14c4d660d4SSimon Glass	bool "Support block devices in SPL"
15c4d660d4SSimon Glass	depends on SPL_DM && BLK
16c4d660d4SSimon Glass	default y
17c4d660d4SSimon Glass	help
18c4d660d4SSimon Glass	  Enable support for block devices, such as SCSI, MMC and USB
19c4d660d4SSimon Glass	  flash sticks. These provide a block-level interface which permits
20c4d660d4SSimon Glass	  reading, writing and (in some cases) erasing blocks. Block
21c4d660d4SSimon Glass	  devices often have a partition table which allows the device to
22c4d660d4SSimon Glass	  be partitioned into several areas, called 'partitions' in U-Boot.
23c4d660d4SSimon Glass	  A filesystem can be placed in each partition.
24c4d660d4SSimon Glass
25e40cf34aSEric Nelsonconfig BLOCK_CACHE
26e40cf34aSEric Nelson	bool "Use block device cache"
27e40cf34aSEric Nelson	default n
28e40cf34aSEric Nelson	help
29e40cf34aSEric Nelson	  This option enables a disk-block cache for all block devices.
30e40cf34aSEric Nelson	  This is most useful when accessing filesystems under U-Boot since
31e40cf34aSEric Nelson	  it will prevent repeated reads from directory structures and other
32e40cf34aSEric Nelson	  filesystem data structures.
33e8a016b5SMichal Simek
34fc843a02SSimon Glassconfig IDE
35fc843a02SSimon Glass	bool "Support IDE controllers"
36fc843a02SSimon Glass	help
37fc843a02SSimon Glass	  Enables support for IDE (Integrated Drive Electronics) hard drives.
38fc843a02SSimon Glass	  This allows access to raw blocks and filesystems on an IDE drive
39fc843a02SSimon Glass	  from U-Boot. See also CMD_IDE which provides an 'ide' command for
40fc843a02SSimon Glass	  performing various IDE operations.
41*560eeee8STom Rini
42*560eeee8STom Riniconfig SYSTEMACE
43*560eeee8STom Rini	bool "Xilinx SystemACE support"
44*560eeee8STom Rini	help
45*560eeee8STom Rini	  Adding this option adds support for Xilinx SystemACE chips attached
46*560eeee8STom Rini	  via some sort of local bus. The address of the chip must also be
47*560eeee8STom Rini	  defined in the CONFIG_SYS_SYSTEMACE_BASE macro.
48*560eeee8STom Rini
49*560eeee8STom Rini	  When SystemACE support is added, the "ace" device type becomes
50*560eeee8STom Rini	  available to the fat commands, i.e. fatls.
51*560eeee8STom Rini
52*560eeee8STom Riniconfig SYS_SYSTEMACE_BASE
53*560eeee8STom Rini	hex "Base address of SystemACE chip"
54*560eeee8STom Rini	depends on SYSTEMACE
55*560eeee8STom Rini
56*560eeee8STom Riniconfig SYS_SYSTEMACE_WIDTH
57*560eeee8STom Rini	int "Word size of access to the of SystemACE chip"
58*560eeee8STom Rini	depends on SYSTEMACE
59