summaryrefslogtreecommitdiff
path: root/include/configs/MPC8572DS.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-08-23 16:01:33 +0200
committerTom Rini <trini@konsulko.com>2017-09-03 11:04:51 -0400
commit79c5912e8d8748d5e36c7dc6376891c9f451e375 (patch)
tree2cf2d85123cca4b7c5cf1a7d7c2d012ab8111f36 /include/configs/MPC8572DS.h
parent47d7ee47baf2c92dad390251e6c1306afa7eea29 (diff)
part: efi: Disable overlap check
The current code checks that no partitions overlap with the GPT partition table using the offset of the first LBA usable for that partition. This works fine, unless you have a partition entry that is further away than it usually is and you want to create partitions in the gap between the GPT header and the GPT partition entries, for example to reflash a bootloader that needs to be set there. Rework the test to something a bit smarter that checks whether a partition would overlap with either the GPT header or the partition entries, no matter where it is on the disk. Partitions that do not have a start LBA specified will still start at the first LBA usable set in the GPT header, to avoid weird behaviours. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/MPC8572DS.h')
0 files changed, 0 insertions, 0 deletions