diff options
author | Sammy He <r62914@freescale.com> | 2011-01-27 21:57:04 +0800 |
---|---|---|
committer | Sammy He <r62914@freescale.com> | 2011-01-28 01:16:58 +0800 |
commit | a069e6b2ca7e8f0ad39375ca12bec11bb0d41ba4 (patch) | |
tree | 29f6e3d6a7b3c29b679a45e813ac4be87be5ecb0 /include/fastboot.h | |
parent | e5a0219ac0190ec7ed472f515987bcfaee2cfb9c (diff) | |
download | u-boot-imx-a069e6b2ca7e8f0ad39375ca12bec11bb0d41ba4.zip u-boot-imx-a069e6b2ca7e8f0ad39375ca12bec11bb0d41ba4.tar.gz u-boot-imx-a069e6b2ca7e8f0ad39375ca12bec11bb0d41ba4.tar.bz2 |
ENGR00138549 Android fastboot: Support eMMC4.4 on imx53_smdrel_imx_2.6.35_11.01.00
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 <r62914@freescale.com>
Diffstat (limited to 'include/fastboot.h')
-rw-r--r-- | include/fastboot.h | 13 |
1 files changed, 12 insertions, 1 deletions
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, <www.windriver.com> @@ -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 */ |