From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dileep Katta Date: Wed, 29 Oct 2014 05:07:11 +0530 Subject: [U-Boot] [PATCH v5 1/1] Enable Android Fastboot support on am335x_evm board In-Reply-To: <20141024150726.GV25506@bill-the-cat> References: <20141024150726.GV25506@bill-the-cat> Message-ID: <1414539431-10212-1-git-send-email-dileep.katta@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Dileep Katta --- Changes in v2: - None Changes in v3: - None Changes in v4: - None - Fastboot flash command changes by Steve Rae are in mainline - This enables the code for BeagleBone Black - Not submitting the changes made for flash command Changes in v5: - Verified eth gadget with new VID/PID - Changed the code to use new VID/PID always - Added spaces as required include/configs/am335x_evm.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 1ec783d..7c83e3b 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -314,6 +314,12 @@ #define CONFIG_AM335X_USB1 #define CONFIG_AM335X_USB1_MODE MUSB_HOST +/* Fastboot */ +#define CONFIG_CMD_FASTBOOT +#define CONFIG_ANDROID_BOOT_IMAGE +#define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x07000000 + #ifdef CONFIG_MUSB_HOST #define CONFIG_CMD_USB #define CONFIG_USB_STORAGE @@ -324,9 +330,13 @@ #define CONFIG_USB_ETH_RNDIS #define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00" +/*To support eMMC booting*/ +#define CONFIG_STORAGE_EMMC +#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1 + /* USB TI's IDs */ -#define CONFIG_G_DNL_VENDOR_NUM 0x0403 -#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00 +#define CONFIG_G_DNL_VENDOR_NUM 0x0451 +#define CONFIG_G_DNL_PRODUCT_NUM 0xD022 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" #endif /* CONFIG_MUSB_GADGET */ -- 1.8.3.2