xref: /rk3399_rockchip-uboot/cmd/fastboot/Kconfig (revision e016f0b2c2e1dc6287b205905ff232c32f8c9e92)
1*e016f0b2SSteve Raecomment "FASTBOOT"
2*e016f0b2SSteve Rae
3*e016f0b2SSteve Raeconfig FASTBOOT
4*e016f0b2SSteve Rae	bool ""
5*e016f0b2SSteve Rae
6*e016f0b2SSteve Raemenu "Fastboot support"
7*e016f0b2SSteve Rae	depends on FASTBOOT
8*e016f0b2SSteve Rae
9*e016f0b2SSteve Raeconfig USB_FUNCTION_FASTBOOT
10*e016f0b2SSteve Rae	bool "Enable USB fastboot gadget"
11*e016f0b2SSteve Rae	help
12*e016f0b2SSteve Rae	  This enables the USB part of the fastboot gadget.
13*e016f0b2SSteve Rae
14*e016f0b2SSteve Raeconfig CMD_FASTBOOT
15*e016f0b2SSteve Rae	bool "Enable FASTBOOT command"
16*e016f0b2SSteve Rae	help
17*e016f0b2SSteve Rae	  This enables the command "fastboot" which enables the Android
18*e016f0b2SSteve Rae	  fastboot mode for the platform's USB device. Fastboot is a USB
19*e016f0b2SSteve Rae	  protocol for downloading images, flashing and device control
20*e016f0b2SSteve Rae	  used on Android devices.
21*e016f0b2SSteve Rae
22*e016f0b2SSteve Raeconfig ANDROID_BOOT_IMAGE
23*e016f0b2SSteve Rae	bool "Enable support for Android Boot Images"
24*e016f0b2SSteve Rae	help
25*e016f0b2SSteve Rae	  This enables support for booting images which use the Android
26*e016f0b2SSteve Rae	  image format header.
27*e016f0b2SSteve Rae
28*e016f0b2SSteve Raeif USB_FUNCTION_FASTBOOT
29*e016f0b2SSteve Rae
30*e016f0b2SSteve Raeconfig FASTBOOT_BUF_ADDR
31*e016f0b2SSteve Rae	hex "Define FASTBOOT buffer address"
32*e016f0b2SSteve Rae	help
33*e016f0b2SSteve Rae	  The fastboot protocol requires a large memory buffer for
34*e016f0b2SSteve Rae	  downloads. Define this to the starting RAM address to use for
35*e016f0b2SSteve Rae	  downloaded images.
36*e016f0b2SSteve Rae
37*e016f0b2SSteve Raeconfig FASTBOOT_BUF_SIZE
38*e016f0b2SSteve Rae	hex "Define FASTBOOT buffer size"
39*e016f0b2SSteve Rae	help
40*e016f0b2SSteve Rae	  The fastboot protocol requires a large memory buffer for
41*e016f0b2SSteve Rae	  downloads. This buffer should be as large as possible for a
42*e016f0b2SSteve Rae	  platform. Define this to the size available RAM for fastboot.
43*e016f0b2SSteve Rae
44*e016f0b2SSteve Raeconfig FASTBOOT_FLASH
45*e016f0b2SSteve Rae	bool "Enable FASTBOOT FLASH command"
46*e016f0b2SSteve Rae	help
47*e016f0b2SSteve Rae	  The fastboot protocol includes a "flash" command for writing
48*e016f0b2SSteve Rae	  the downloaded image to a non-volatile storage device. Define
49*e016f0b2SSteve Rae	  this to enable the "fastboot flash" command.
50*e016f0b2SSteve Rae
51*e016f0b2SSteve Raeconfig FASTBOOT_FLASH_MMC_DEV
52*e016f0b2SSteve Rae	int "Define FASTBOOT MMC FLASH default device"
53*e016f0b2SSteve Rae	help
54*e016f0b2SSteve Rae	  The fastboot "flash" command requires additional information
55*e016f0b2SSteve Rae	  regarding the non-volatile storage device. Define this to
56*e016f0b2SSteve Rae	  the eMMC device that fastboot should use to store the image.
57*e016f0b2SSteve Rae
58*e016f0b2SSteve Raeendif # USB_FUNCTION_FASTBOOT
59*e016f0b2SSteve Rae
60*e016f0b2SSteve Raeendmenu
61