summaryrefslogtreecommitdiff
path: root/include/fsl_fastboot.h
diff options
context:
space:
mode:
authorChen Guoyin <guoyin.chen@nxp.com>2016-12-28 13:46:43 +0800
committerChen Guoyin <guoyin.chen@nxp.com>2016-12-29 11:40:38 +0800
commit460ea1d8108d136f79317aca85631e2a66141922 (patch)
treee8e05a19667b35f34abff94a109b49ab62c5b457 /include/fsl_fastboot.h
parent2f8823aae87033b4f5cad1cdc09bc54a9522bad7 (diff)
downloadu-boot-imx-460ea1d8108d136f79317aca85631e2a66141922.zip
u-boot-imx-460ea1d8108d136f79317aca85631e2a66141922.tar.gz
u-boot-imx-460ea1d8108d136f79317aca85631e2a66141922.tar.bz2
MA-9137 Support "fastboot erase" command for emmc device
Refine the fastboot erase implementation as below: * Follow rx_process_flash() to define rx_process_erase() * Add process_erase_mmc() to execute "fastboot erase" * No support the commands for SATA storage * Add flag FASTBOOT_PTENTRY_FLAGS_UNERASEABLE for unearseable parition Change-Id: I14a932bbdb30a3f9e45ee9fe3ac85d28437d62f2 Signed-off-by: Chen Guoyin <guoyin.chen@nxp.com>
Diffstat (limited to 'include/fsl_fastboot.h')
-rw-r--r--include/fsl_fastboot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h
index b702ff2..8db3194 100644
--- a/include/fsl_fastboot.h
+++ b/include/fsl_fastboot.h
@@ -29,6 +29,9 @@
using the setenv and saveenv commands */
#define FASTBOOT_PTENTRY_FLAGS_WRITE_ENV 0x00000400
+/* Uneraseable partition */
+#define FASTBOOT_PTENTRY_FLAGS_UNERASEABLE 0x00000800
+
#define FASTBOOT_MMC_BOOT_PARTITION_ID 1
#define FASTBOOT_MMC_USER_PARTITION_ID 0
#define FASTBOOT_MMC_NONE_PARTITION_ID -1