diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-09-10 16:03:38 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-09-20 09:47:59 +0200 |
commit | 559964e7d4fe3405a5a074837c1904cc276c84f9 (patch) | |
tree | 25496ddc835f43442cd7038af70e91c42fa7d714 /include | |
parent | 4fae48e8a955728471e02db38195294940396f04 (diff) | |
download | u-boot-imx-559964e7d4fe3405a5a074837c1904cc276c84f9.zip u-boot-imx-559964e7d4fe3405a5a074837c1904cc276c84f9.tar.gz u-boot-imx-559964e7d4fe3405a5a074837c1904cc276c84f9.tar.bz2 |
mx6sabre_common: Add Fastboot support
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6sabre_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index 98eb042..2970b83 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -238,6 +238,12 @@ #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 */ |