commit | 692049259c28c333c69ddd49913d28e205914499 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Oct 11 19:10:02 2018 -0700 |
committer | David Anderson <dvander@google.com> | Wed Oct 17 16:15:41 2018 -0700 |
tree | 8736486953e8420a00aa29031436ed73bb42491d | |
parent | f2eaefe368f4807cf63fd5b0368501bc9227dc4a [diff] |
liblp: Reserve the first logical block of the super partition. Traditionally the first 512 bytes of a partition can be interpreted as an MBR. To prevent any compatibility issues, we explicitly zero the first 4096 bytes of the super partition (one logical block, on most systems). Bug: 116802789 Test: liblp_test gtest device with super partition flashes and boots Change-Id: I29688ca75dbb52442f1464e8ab35893678a4f79e