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)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 20:24:02 +0000 (16:24 -0400)
commitae1768a72cf70c00eec6824a5cc9079b0a247640
treef39da7d478d7208b2603d0466c258dd9e710c30f
parent9d956e0fefa39ba49250f61e3c7aa3dadafdb7fd
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