[U-Boot] [PATCH 2/2] disk: part_efi: fix **pgpt_pte == NULL

Wolfgang Denk wd at denx.de
Thu Oct 27 23:50:08 CEST 2011


Dear Doug Anderson,

In message <1319053651-14017-1-git-send-email-dianders at chromium.org> you wrote:
> Code was setting **pgpt_pte == NULL, which meant that the pointer
> to the gpt_pte would be stored at RAM address 00000000. This 'worked'
> on T20 (SDRAM starts @ 0x00000000), but hung gpt/EFI access on T30
> (SDRAM starts @ 0x80000000).
> 
> Signed-off-by: Tom Warren <twarren at nvidia.com>
> Signed-off-by: Doug Anderson <dianders at chromium.org>
> ---
> v2: No change to patch 1/2 (not reposted); patch 2/2 updated to
> address Mike Frysinger's comments.  Note that %p currently doesn't
> include the "0x" prefix in u-boot, but I expect that it may someday
> (since it does in gcc) so I've gone ahead and removed the prefix.
> 
>  disk/part_efi.c |   38 +++++++++++++++-----------------------
>  1 files changed, 15 insertions(+), 23 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have a very small mind and must live with it.    -- Edsger Dijkstra


More information about the U-Boot mailing list