From: Otavio Salvador Date: Thu, 19 Nov 2015 21:02:35 +0000 (-0200) Subject: cgtqmx6eval: Add fastboot support X-Git-Tag: v2016.01-rc2~42^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eb76f13ac0000bc6950ecf9f6485306f90059a97;p=u-boot cgtqmx6eval: Add fastboot support Tested basic fastboot commands, such as: On the U-boot prompt: => fastboot 0 On the host PC: $ fastboot getvar bootloader-version -i 0x0525 bootloader-version: U-Boot 2015.10-rc2-09654-g8f41d27 finished. total time: 0.000s $ fastboot reboot -i 0x0525 --> board reboots fine. Signed-off-by: Otavio Salvador Reviewed-by: Fabio Estevam --- diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index 79183c4146..ee48fa62d6 100644 --- a/include/configs/cgtqmx6eval.h +++ b/include/configs/cgtqmx6eval.h @@ -89,6 +89,12 @@ #define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5 #define CONFIG_G_DNL_MANUFACTURER "Congatec" +#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 + /* Framebuffer */ #define CONFIG_VIDEO #define CONFIG_VIDEO_IPUV3