commit | 937d6045136a1ada3d8c90ea4fb0b3106f2c8c39 | [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 | 7c4caaf52fe02cb2f5093dc122ed1ca8239f82c5 [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