summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2011-09-30 14:39:25 -0700
committerJean-Baptiste Queru <jbq@google.com>2011-09-30 14:39:25 -0700
commitd7608a40d6bed0d8ca686414a5a4f44b6d4d0435 (patch)
treedeb7f5d055e26830227c5add9b6e02a1e30037f8 /fastboot
parentdb982b06606e885186efc1ee32c9dd96216c12dc (diff)
downloadsystem_core-d7608a40d6bed0d8ca686414a5a4f44b6d4d0435.zip
system_core-d7608a40d6bed0d8ca686414a5a4f44b6d4d0435.tar.gz
system_core-d7608a40d6bed0d8ca686414a5a4f44b6d4d0435.tar.bz2
Flash cache partition with cache.img by default.
Bug: 5153694 Change-Id: If322d13286e9b0f14877d1a4f03f6bd288ee71f3
Diffstat (limited to 'fastboot')
-rw-r--r--fastboot/fastboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c
index 4a2de20..0639f3b 100644
--- a/fastboot/fastboot.c
+++ b/fastboot/fastboot.c
@@ -88,6 +88,8 @@ char *find_item(const char *item, const char *product)
fn = "system.img";
} else if(!strcmp(item,"userdata")) {
fn = "userdata.img";
+ } else if(!strcmp(item,"cache")) {
+ fn = "cache.img";
} else if(!strcmp(item,"info")) {
fn = "android-info.txt";
} else {