]> git.sur5r.net Git - u-boot/commitdiff
mx6sabre_common: Add Fastboot support
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 10 Sep 2015 19:03:38 +0000 (16:03 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 20 Sep 2015 07:47:59 +0000 (09:47 +0200)
Tested basic fastboot commands, such as:

On the mx6qsabresd U-boot prompt:

=> fastboot 0

On the host PC:

$ fastboot getvar bootloader-version -i 0x0525
bootloader-version: U-Boot 2015.10-rc2-23960-g2462cce-dirty
finished. total time: 0.000s

$ fastboot reboot  -i 0x0525 --> board reboots fine.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
include/configs/mx6sabre_common.h

index 98eb0427aa5c5e3ebcfb86c2a6814c58f72893ce..2970b831098967d19d41dba5230659f1d1a8795f 100644 (file)
 #define CONFIG_G_DNL_VENDOR_NUM                0x0525
 #define CONFIG_G_DNL_PRODUCT_NUM       0xa4a5
 #define CONFIG_G_DNL_MANUFACTURER      "FSL"
+
+#define CONFIG_USB_FUNCTION_FASTBOOT
+#define CONFIG_CMD_FASTBOOT
+#define CONFIG_ANDROID_BOOT_IMAGE
+#define CONFIG_FASTBOOT_BUF_ADDR   CONFIG_SYS_LOAD_ADDR
+#define CONFIG_FASTBOOT_BUF_SIZE   0x07000000
 #endif
 
 #endif                         /* __MX6QSABRE_COMMON_CONFIG_H */