summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWang Haoran <Haoran.Wang@freescale.com>2016-07-13 16:45:34 +0800
committerWang Haoran <Haoran.Wang@freescale.com>2016-07-21 12:22:50 +0800
commitf41d461405edd0a547d50860b2e74baa63c43615 (patch)
treec504250384adc3d70b501a4e824f89cfe26a15fe /include
parent54da49675053ce7ebf461860c7199a2a1dda372e (diff)
downloadu-boot-imx-f41d461405edd0a547d50860b2e74baa63c43615.zip
u-boot-imx-f41d461405edd0a547d50860b2e74baa63c43615.tar.gz
u-boot-imx-f41d461405edd0a547d50860b2e74baa63c43615.tar.bz2
MA-7875-4 Support fastboot getvar commands
Support below fastboot getvar commands: o version-baseband o version-bootloader o product o off-mode-charge o variant o battery-voltage o battery-soc-ok o partition-size:<partition name> o partition-type:< partition name> Signed-off-by: Wang Haoran <Haoran.Wang@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/fsl_fastboot.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h
index eac3eab..3548986 100644
--- a/include/fsl_fastboot.h
+++ b/include/fsl_fastboot.h
@@ -42,12 +42,28 @@
#define FASTBOOT_PARTITION_BOOT_B "boot_b"
#define FASTBOOT_PARTITION_SYSTEM_B "system_b"
#define FASTBOOT_PARTITION_MISC "misc"
+
+#define FASTBOOT_PARTITION_BOOT_FS "emmc"
+#define FASTBOOT_PARTITION_RECOVERY_FS "emmc"
+#define FASTBOOT_PARTITION_SYSTEM_FS "ext4"
+#define FASTBOOT_PARTITION_BOOTLOADER_FS "emmc"
+#define FASTBOOT_PARTITION_DATA_FS "ext4"
+#define FASTBOOT_PARTITION_MISC_FS "emmc"
+
#else
#define FASTBOOT_PARTITION_BOOT "boot"
#define FASTBOOT_PARTITION_RECOVERY "recovery"
#define FASTBOOT_PARTITION_SYSTEM "system"
#define FASTBOOT_PARTITION_BOOTLOADER "bootloader"
#define FASTBOOT_PARTITION_DATA "data"
+
+#define FASTBOOT_PARTITION_BOOT_FS "emmc"
+#define FASTBOOT_PARTITION_RECOVERY_FS "emmc"
+#define FASTBOOT_PARTITION_SYSTEM_FS "ext4"
+#define FASTBOOT_PARTITION_BOOTLOADER_FS "emmc"
+#define FASTBOOT_PARTITION_DATA_FS "ext4"
+#define FASTBOOT_PARTITION_MISC_FS "emmc"
+
#endif
enum {
@@ -131,6 +147,8 @@ struct fastboot_ptentry {
unsigned int partition_id;
/* partition number in block device */
unsigned int partition_index;
+ /* partition file system type in string */
+ char fstype[16];
};
struct fastboot_device_info {