6 menu "Fastboot support"
9 config USB_FUNCTION_FASTBOOT
10 bool "Enable USB fastboot gadget"
12 This enables the USB part of the fastboot gadget.
15 bool "Enable FASTBOOT command"
17 This enables the command "fastboot" which enables the Android
18 fastboot mode for the platform's USB device. Fastboot is a USB
19 protocol for downloading images, flashing and device control
20 used on Android devices.
22 config ANDROID_BOOT_IMAGE
23 bool "Enable support for Android Boot Images"
25 This enables support for booting images which use the Android
28 if USB_FUNCTION_FASTBOOT
30 config FASTBOOT_BUF_ADDR
31 hex "Define FASTBOOT buffer address"
33 The fastboot protocol requires a large memory buffer for
34 downloads. Define this to the starting RAM address to use for
37 config FASTBOOT_BUF_SIZE
38 hex "Define FASTBOOT buffer size"
40 The fastboot protocol requires a large memory buffer for
41 downloads. This buffer should be as large as possible for a
42 platform. Define this to the size available RAM for fastboot.
45 bool "Enable FASTBOOT FLASH command"
47 The fastboot protocol includes a "flash" command for writing
48 the downloaded image to a non-volatile storage device. Define
49 this to enable the "fastboot flash" command.
51 config FASTBOOT_FLASH_MMC_DEV
52 int "Define FASTBOOT MMC FLASH default device"
53 depends on FASTBOOT_FLASH
55 The fastboot "flash" command requires additional information
56 regarding the non-volatile storage device. Define this to
57 the eMMC device that fastboot should use to store the image.
59 config FASTBOOT_GPT_NAME
60 string "Target name for updating GPT"
61 depends on FASTBOOT_FLASH
64 The fastboot "flash" command supports writing the downloaded
65 image to the Protective MBR and the Primary GUID Partition
66 Table. (Additionally, this downloaded image is post-processed
67 to generate and write the Backup GUID Partition Table.)
68 This occurs when the specified "partition name" on the
69 "fastboot flash" command line matches the value defined here.
70 The default target name for updating GPT is "gpt".
72 config FASTBOOT_MBR_NAME
73 string "Target name for updating MBR"
74 depends on FASTBOOT_FLASH
77 The fastboot "flash" command allows to write the downloaded image
78 to the Master Boot Record. This occurs when the "partition name"
79 specified on the "fastboot flash" command line matches the value
80 defined here. The default target name for updating MBR is "mbr".
82 endif # USB_FUNCTION_FASTBOOT