uboot/drivers/block/Kconfig
<<
>>
Prefs
   1config BLK
   2        bool "Support block devices"
   3        depends on DM
   4        default y if DM_MMC || DM_USB
   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 HAVE_BLOCK_DEVICE
  14        bool "Enable Legacy Block Device"
  15        help
  16          Some devices require block support whether or not DM is enabled
  17
  18config SPL_BLK
  19        bool "Support block devices in SPL"
  20        depends on SPL_DM && BLK
  21        default y
  22        help
  23          Enable support for block devices, such as SCSI, MMC and USB
  24          flash sticks. These provide a block-level interface which permits
  25          reading, writing and (in some cases) erasing blocks. Block
  26          devices often have a partition table which allows the device to
  27          be partitioned into several areas, called 'partitions' in U-Boot.
  28          A filesystem can be placed in each partition.
  29
  30config TPL_BLK
  31        bool "Support block devices in TPL"
  32        depends on TPL_DM && BLK
  33        default y
  34        help
  35          Enable support for block devices, such as SCSI, MMC and USB
  36          flash sticks. These provide a block-level interface which permits
  37          reading, writing and (in some cases) erasing blocks. Block
  38          devices often have a partition table which allows the device to
  39          be partitioned into several areas, called 'partitions' in U-Boot.
  40          A filesystem can be placed in each partition.
  41
  42config BLOCK_CACHE
  43        bool "Use block device cache"
  44        depends on BLK
  45        default y
  46        help
  47          This option enables a disk-block cache for all block devices.
  48          This is most useful when accessing filesystems under U-Boot since
  49          it will prevent repeated reads from directory structures and other
  50          filesystem data structures.
  51
  52config SPL_BLOCK_CACHE
  53        bool "Use block device cache in SPL"
  54        depends on SPL_BLK
  55        help
  56          This option enables the disk-block cache in SPL
  57
  58config TPL_BLOCK_CACHE
  59        bool "Use block device cache in TPL"
  60        depends on TPL_BLK
  61        help
  62          This option enables the disk-block cache in TPL
  63
  64config EFI_MEDIA
  65        bool "Support EFI media drivers"
  66        default y if EFI || SANDBOX
  67        help
  68          Enable this to support media devices on top of UEFI. This enables
  69          just the uclass so you also need a specific driver to make this do
  70          anything.
  71
  72          For sandbox there is a test driver.
  73
  74if EFI_MEDIA
  75
  76config EFI_MEDIA_SANDBOX
  77        bool "Sandbox EFI media driver"
  78        depends on SANDBOX
  79        default y
  80        help
  81          Enables a simple sandbox media driver, used for testing just the
  82          EFI_MEDIA uclass. It does not do anything useful, since sandbox does
  83          not actually support running on top of UEFI.
  84
  85config EFI_MEDIA_BLK
  86        bool "EFI media block driver"
  87        depends on EFI_APP
  88        default y
  89        help
  90          Enables a block driver for providing access to UEFI devices. This
  91          allows use of block devices detected by the underlying UEFI
  92          implementation. With this it is possible to use filesystems on these
  93          devices, for example.
  94
  95endif  # EFI_MEDIA
  96
  97config IDE
  98        bool "Support IDE controllers"
  99        select HAVE_BLOCK_DEVICE
 100        help
 101          Enables support for IDE (Integrated Drive Electronics) hard drives.
 102          This allows access to raw blocks and filesystems on an IDE drive
 103          from U-Boot. See also CMD_IDE which provides an 'ide' command for
 104          performing various IDE operations.
 105