1comment "FASTBOOT" 2 3config FASTBOOT 4 bool "" 5 6menu "Fastboot support" 7 depends on FASTBOOT 8 9config USB_FUNCTION_FASTBOOT 10 bool "Enable USB fastboot gadget" 11 help 12 This enables the USB part of the fastboot gadget. 13 14config CMD_FASTBOOT 15 bool "Enable FASTBOOT command" 16 help 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. 21 22config ANDROID_BOOT_IMAGE 23 bool "Enable support for Android Boot Images" 24 help 25 This enables support for booting images which use the Android 26 image format header. 27 28if USB_FUNCTION_FASTBOOT 29 30config FASTBOOT_BUF_ADDR 31 hex "Define FASTBOOT buffer address" 32 help 33 The fastboot protocol requires a large memory buffer for 34 downloads. Define this to the starting RAM address to use for 35 downloaded images. 36 37config FASTBOOT_BUF_SIZE 38 hex "Define FASTBOOT buffer size" 39 help 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. 43 44config FASTBOOT_FLASH 45 bool "Enable FASTBOOT FLASH command" 46 help 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. 50 51config FASTBOOT_FLASH_MMC_DEV 52 int "Define FASTBOOT MMC FLASH default device" 53 help 54 The fastboot "flash" command requires additional information 55 regarding the non-volatile storage device. Define this to 56 the eMMC device that fastboot should use to store the image. 57 58endif # USB_FUNCTION_FASTBOOT 59 60endmenu 61