u-boot/disk
Maxime Ripard b349abbfe9 gpt: Fix the protective MBR partition size
According to the UEFI Spec (Table 16, section 5.2.3 of the version 2.4 Errata
B), the protective MBR partition record size must be set to the size of the
disk minus one, in LBAs.

However, the current code was setting the size as the total number of LBAs on
the disk, resulting in an off-by-one error.

This confused the AM335x ROM code, and will probably confuse other tools as
well.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-01-08 11:00:45 -05:00
..
Makefile
part_amiga.c
part_amiga.h
part_dos.c disk: part_dos.c: Add a PBR check when MBR checking fails 2014-06-11 16:27:05 -04:00
part_dos.h
part_efi.c gpt: Fix the protective MBR partition size 2015-01-08 11:00:45 -05:00
part_iso.c
part_iso.h
part_mac.c
part_mac.h
part.c disk/part.c: make local function static 2014-10-25 07:02:00 -04:00