4 bool "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 See doc/README.android-fastboot for more information.
24 if USB_FUNCTION_FASTBOOT
26 config FASTBOOT_BUF_ADDR
27 hex "Define FASTBOOT buffer address"
28 default 0x82000000 if MX6SX || MX6SL || MX6UL || MX6SLL
29 default 0x81000000 if ARCH_OMAP2PLUS
30 default 0x42000000 if ARCH_SUNXI && !MACH_SUN9I
31 default 0x22000000 if ARCH_SUNXI && MACH_SUN9I
32 default 0x60800800 if ROCKCHIP_RK3036 || ROCKCHIP_RK3188 || \
34 default 0x800800 if ROCKCHIP_RK3288 || ROCKCHIP_RK3329 || \
36 default 0x280000 if ROCKCHIP_RK3368
37 default 0x100000 if ARCH_ZYNQMP
39 The fastboot protocol requires a large memory buffer for
40 downloads. Define this to the starting RAM address to use for
43 config FASTBOOT_BUF_SIZE
44 hex "Define FASTBOOT buffer size"
45 default 0x8000000 if ARCH_ROCKCHIP
46 default 0x6000000 if ARCH_ZYNQMP
47 default 0x2000000 if ARCH_SUNXI
50 The fastboot protocol requires a large memory buffer for
51 downloads. This buffer should be as large as possible for a
52 platform. Define this to the size available RAM for fastboot.
54 config FASTBOOT_USB_DEV
55 int "USB controller number"
58 Some boards have USB OTG controller other than 0. Define this
59 option so it can be used in compiled environment (e.g. in
63 bool "Enable FASTBOOT FLASH command"
65 The fastboot protocol includes a "flash" command for writing
66 the downloaded image to a non-volatile storage device. Define
67 this to enable the "fastboot flash" command.
69 config FASTBOOT_FLASH_MMC_DEV
70 int "Define FASTBOOT MMC FLASH default device"
71 depends on FASTBOOT_FLASH && MMC
73 The fastboot "flash" command requires additional information
74 regarding the non-volatile storage device. Define this to
75 the eMMC device that fastboot should use to store the image.
77 config FASTBOOT_GPT_NAME
78 string "Target name for updating GPT"
79 depends on FASTBOOT_FLASH
82 The fastboot "flash" command supports writing the downloaded
83 image to the Protective MBR and the Primary GUID Partition
84 Table. (Additionally, this downloaded image is post-processed
85 to generate and write the Backup GUID Partition Table.)
86 This occurs when the specified "partition name" on the
87 "fastboot flash" command line matches the value defined here.
88 The default target name for updating GPT is "gpt".
90 config FASTBOOT_MBR_NAME
91 string "Target name for updating MBR"
92 depends on FASTBOOT_FLASH
95 The fastboot "flash" command allows to write the downloaded image
96 to the Master Boot Record. This occurs when the "partition name"
97 specified on the "fastboot flash" command line matches the value
98 defined here. The default target name for updating MBR is "mbr".
100 endif # USB_FUNCTION_FASTBOOT