zero the partiiton before writing to it.
Change-Id: I4717fd45c822a2026f907914c900cf8c60d8a48d
This commit is contained in:
parent
2e85422f89
commit
17fd32d0a2
@ -599,6 +599,7 @@ int cmd_mmc_restore_raw_partition(const char *partition, const char *filename)
|
||||
return mmc_raw_copy(p, filename);
|
||||
}
|
||||
else {
|
||||
mmc_raw_dump_internal("/dev/zero", partition);
|
||||
return mmc_raw_dump_internal(filename, partition);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user