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 | |
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')
-rw-r--r-- | include/configs/mx51_bbg_android.h | 1 | ||||
-rw-r--r-- | include/configs/mx53_evk_android.h | 1 | ||||
-rw-r--r-- | include/configs/mx53_smd_android.h | 1 | ||||
-rw-r--r-- | include/fastboot.h | 13 |
4 files changed, 12 insertions, 4 deletions
diff --git a/include/configs/mx51_bbg_android.h b/include/configs/mx51_bbg_android.h index 04607a1..6206678 100644 --- a/include/configs/mx51_bbg_android.h +++ b/include/configs/mx51_bbg_android.h @@ -100,7 +100,6 @@ #define CONFIG_FASTBOOT_CONFIGURATION_STR "Android fastboot" #define CONFIG_FASTBOOT_INTERFACE_STR "Android fastboot" #define CONFIG_FASTBOOT_SERIAL_NUM "12345" -#define CONFIG_FASTBOOT_MMC_NO 0 #define CONFIG_FASTBOOT_TRANSFER_BUF 0xA0000000 #define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x8000000 /* 128M byte */ diff --git a/include/configs/mx53_evk_android.h b/include/configs/mx53_evk_android.h index 4552cd1..77eec2d 100644 --- a/include/configs/mx53_evk_android.h +++ b/include/configs/mx53_evk_android.h @@ -90,7 +90,6 @@ #define CONFIG_FASTBOOT_CONFIGURATION_STR "Android fastboot" #define CONFIG_FASTBOOT_INTERFACE_STR "Android fastboot" #define CONFIG_FASTBOOT_SERIAL_NUM "12345" -#define CONFIG_FASTBOOT_MMC_NO 0 #define CONFIG_FASTBOOT_TRANSFER_BUF 0x80000000 #define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x8000000 /* 128M byte */ diff --git a/include/configs/mx53_smd_android.h b/include/configs/mx53_smd_android.h index 953ceba..717c758 100644 --- a/include/configs/mx53_smd_android.h +++ b/include/configs/mx53_smd_android.h @@ -90,7 +90,6 @@ #define CONFIG_FASTBOOT_CONFIGURATION_STR "Android fastboot" #define CONFIG_FASTBOOT_INTERFACE_STR "Android fastboot" #define CONFIG_FASTBOOT_SERIAL_NUM "12345" -#define CONFIG_FASTBOOT_MMC_NO 0 #define CONFIG_FASTBOOT_SATA_NO 0 #define CONFIG_FASTBOOT_TRANSFER_BUF 0x80000000 #define CONFIG_FASTBOOT_TRANSFER_BUF_SIZE 0x8000000 /* 128M byte */ 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 */ |