diff options
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 */ |