disk/gpt: Fix GPT partition handling for blocksize != 512
authorEgbert Eich <eich@suse.com>
Tue, 9 Apr 2013 06:03:36 +0000 (06:03 +0000)
committerChanho Park <chanho61.park@samsung.com>
Thu, 6 Aug 2015 06:02:08 +0000 (15:02 +0900)
commitc677db85f83fc0e74dcd4e4a8f4cf70377680ee6
tree04f945aa5453740a8002321f4dae56df0b59d8e6
parentadbc0e65be1b8de683d975053f26cdadb7433be8
disk/gpt: Fix GPT partition handling for blocksize != 512

Disks beyond 2T in size use blocksizes of 4096 bytes. However a lot of
code in u-boot  still assumes a 512 byte blocksize.
This patch fixes the handling of GPTs.

Signed-off-by: Egbert Eich <eich@suse.com>
disk/part_efi.c
include/common.h
include/part.h
include/part_efi.h