Kconfig 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. comment "FASTBOOT"
  2. menuconfig FASTBOOT
  3. bool "Fastboot support"
  4. if FASTBOOT
  5. config USB_FUNCTION_FASTBOOT
  6. bool "Enable USB fastboot gadget"
  7. help
  8. This enables the USB part of the fastboot gadget.
  9. config CMD_FASTBOOT
  10. bool "Enable FASTBOOT command"
  11. help
  12. This enables the command "fastboot" which enables the Android
  13. fastboot mode for the platform's USB device. Fastboot is a USB
  14. protocol for downloading images, flashing and device control
  15. used on Android devices.
  16. config ANDROID_BOOT_IMAGE
  17. bool "Enable support for Android Boot Images"
  18. help
  19. This enables support for booting images which use the Android
  20. image format header.
  21. if USB_FUNCTION_FASTBOOT
  22. config FASTBOOT_BUF_ADDR
  23. hex "Define FASTBOOT buffer address"
  24. help
  25. The fastboot protocol requires a large memory buffer for
  26. downloads. Define this to the starting RAM address to use for
  27. downloaded images.
  28. config FASTBOOT_BUF_SIZE
  29. hex "Define FASTBOOT buffer size"
  30. help
  31. The fastboot protocol requires a large memory buffer for
  32. downloads. This buffer should be as large as possible for a
  33. platform. Define this to the size available RAM for fastboot.
  34. config FASTBOOT_USB_DEV
  35. int "USB controller number"
  36. default 0
  37. help
  38. Some boards have USB OTG controller other than 0. Define this
  39. option so it can be used in compiled environment (e.g. in
  40. CONFIG_BOOTCOMMAND).
  41. config FASTBOOT_FLASH
  42. bool "Enable FASTBOOT FLASH command"
  43. help
  44. The fastboot protocol includes a "flash" command for writing
  45. the downloaded image to a non-volatile storage device. Define
  46. this to enable the "fastboot flash" command.
  47. config FASTBOOT_FLASH_MMC_DEV
  48. int "Define FASTBOOT MMC FLASH default device"
  49. depends on FASTBOOT_FLASH
  50. help
  51. The fastboot "flash" command requires additional information
  52. regarding the non-volatile storage device. Define this to
  53. the eMMC device that fastboot should use to store the image.
  54. config FASTBOOT_GPT_NAME
  55. string "Target name for updating GPT"
  56. depends on FASTBOOT_FLASH
  57. default "gpt"
  58. help
  59. The fastboot "flash" command supports writing the downloaded
  60. image to the Protective MBR and the Primary GUID Partition
  61. Table. (Additionally, this downloaded image is post-processed
  62. to generate and write the Backup GUID Partition Table.)
  63. This occurs when the specified "partition name" on the
  64. "fastboot flash" command line matches the value defined here.
  65. The default target name for updating GPT is "gpt".
  66. config FASTBOOT_MBR_NAME
  67. string "Target name for updating MBR"
  68. depends on FASTBOOT_FLASH
  69. default "mbr"
  70. help
  71. The fastboot "flash" command allows to write the downloaded image
  72. to the Master Boot Record. This occurs when the "partition name"
  73. specified on the "fastboot flash" command line matches the value
  74. defined here. The default target name for updating MBR is "mbr".
  75. endif # USB_FUNCTION_FASTBOOT
  76. endif # FASTBOOT