| commit | bddc9d37a353f4af29141638f48e896a63e0d1a9 | [log] [tgz] |
|---|---|---|
| author | Nam T. Nguyen <[email protected]> | Wed Dec 10 17:22:17 2014 |
| committer | chrome-internal-fetch <[email protected]> | Tue Dec 23 05:01:22 2014 |
| tree | 916d1de9587d70322b9527d8c70ab9ea1fbfb0bd | |
| parent | abeff4d9fb3d74206580d12d4f6ec4aef1aa3c5e [diff] |
android_mtdutils: Add mtd_read_descriptor This CL adds "mtd_read_descriptor" to create a read context from a file descriptor. It also refactors the code, especially mtd_read_partition and read_block to alleviate the need of an MtdPartition. BUG=chromium:426742 TEST=emerge android_mtdutils Change-Id: I1c976c271997b0c101b511c73081a70a7e0c1eaa Reviewed-on: https://chromium-review.googlesource.com/234456 Reviewed-by: Nam Nguyen <[email protected]> Commit-Queue: Nam Nguyen <[email protected]> Trybot-Ready: Nam Nguyen <[email protected]> Tested-by: Nam Nguyen <[email protected]>