From a069e6b2ca7e8f0ad39375ca12bec11bb0d41ba4 Mon Sep 17 00:00:00 2001 From: Sammy He Date: Thu, 27 Jan 2011 21:57:04 +0800 Subject: ENGR00138549 Android fastboot: Support eMMC4.4 on imx53_smd Support eMMC4.4 storage on imx53_smd android fastboot, using environment to control it, the command is: > setenv fastboot_dev mmc1 Signed-off-by: Sammy He --- include/fastboot.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'include/fastboot.h') diff --git a/include/fastboot.h b/include/fastboot.h index 8a012b8..5d2512e 100644 --- a/include/fastboot.h +++ b/include/fastboot.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Freescale Semiconductor, Inc. + * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. * * (C) Copyright 2008 - 2009 * Windriver, @@ -92,6 +92,12 @@ #define CFG_FASTBOOT_MKBOOTIMAGE_PAGE_SIZE 2048 #endif +enum { + DEV_SATA, + DEV_MMC, + DEV_NAND +}; + struct cmd_fastboot_interface { /* This function is called when a buffer has been recieved from the client app. @@ -168,6 +174,11 @@ struct fastboot_ptentry { unsigned int flags; }; +struct fastboot_device_info { + unsigned char type; + unsigned char dev_id; +}; + /* Lower byte shows if the read/write/erase operation in repeated. The base address is incremented. Either 0 or 1 is ok for a default */ -- cgit v1.1