Merge tag 'dm-pull-9jul19-take2' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
[oweals/u-boot.git] / cmd / Kconfig
index fd1beb0684961d300e97c9cb571a2db154f64fb3..3afb760a816f9fd268ad1aa15ff170dd7c4f4b1f 100644 (file)
@@ -631,6 +631,23 @@ config CMD_ADC
          Shows ADC device info and permit printing one-shot analog converted
          data from a named Analog to Digital Converter.
 
+config CMD_BCB
+       bool "bcb"
+       depends on MMC
+       depends on PARTITIONS
+       help
+         Read/modify/write the fields of Bootloader Control Block, usually
+         stored on the flash "misc" partition with its structure defined in:
+         https://android.googlesource.com/platform/bootable/recovery/+/master/
+         bootloader_message/include/bootloader_message/bootloader_message.h
+
+         Some real-life use-cases include (but are not limited to):
+         - Determine the "boot reason" (and act accordingly):
+           https://source.android.com/devices/bootloader/boot-reason
+         - Get/pass a list of commands from/to recovery:
+           https://android.googlesource.com/platform/bootable/recovery
+         - Inspect/dump the contents of the BCB fields
+
 config CMD_BIND
        bool "bind/unbind - Bind or unbind a device to/from a driver"
        depends on DM
@@ -1035,11 +1052,13 @@ config CMD_SDRAM
 
 config CMD_SF
        bool "sf"
+       depends on DM_SPI_FLASH || SPI_FLASH
        help
          SPI Flash support
 
 config CMD_SF_TEST
        bool "sf test - Allow testing of SPI flash"
+       depends on CMD_SF
        help
          Provides a way to test that SPI flash is working correctly. The
          test is destructive, in that an area of SPI flash must be provided
@@ -1051,6 +1070,7 @@ config CMD_SF_TEST
 
 config CMD_SPI
        bool "sspi - Command to access spi device"
+       depends on SPI
        help
          SPI utility command.
 
@@ -1425,17 +1445,10 @@ config CMD_CLS
          Enable the 'cls' command which clears the screen contents
          on video frame buffer.
 
-config CMD_DISPLAY
-       bool "Enable the 'display' command, for character displays"
-       help
-         (this needs porting to driver model)
-         This enables the 'display' command which allows a string to be
-         displayed on a simple board-specific display. Implement
-         display_putc() to use it.
-
 config CMD_EFIDEBUG
        bool "efidebug - display/configure UEFI environment"
        depends on EFI_LOADER
+       select EFI_DEVICE_PATH_TO_TEXT
        default n
        help
          Enable the 'efidebug' command which provides a subset of UEFI