commit | 9bcfc3ee238f16925e9aaa4573129784ebb397e7 | [log] [tgz] |
---|---|---|
author | Nam T. Nguyen <[email protected]> | Wed Dec 10 19:13:05 2014 |
committer | chrome-internal-fetch <[email protected]> | Tue Dec 23 05:01:27 2014 |
tree | e7691f21c00d4f035d0e0cc535e4b3d9e0e6b34e | |
parent | bddc9d37a353f4af29141638f48e896a63e0d1a9 [diff] |
android_mtdutils: Add mtd_write_descriptor This CL adds "mtd_write_descriptor" to create a write context from a file descriptor. It also refactors the code, especially mtd_write_partition and write_block to alleviate the need of an MtdPartition. BUG=chromium:426742 TEST=emerge android_mtdutils Change-Id: I450f21ab6ae3dd774cb531f9b166dd1864b83d05 Reviewed-on: https://chromium-review.googlesource.com/234457 Reviewed-by: Mike Frysinger <[email protected]> Commit-Queue: Nam Nguyen <[email protected]> Trybot-Ready: Nam Nguyen <[email protected]> Tested-by: Nam Nguyen <[email protected]>