disk: part_efi: fix **pgpt_pte == NULL
authorDoug Anderson <dianders@chromium.org>
Wed, 19 Oct 2011 09:47:31 +0000 (09:47 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:53:59 +0000 (23:53 +0200)
commitdeb5ca80275e8cfa74d5680b41204e08a095eca5
treed3cf5bc62b5b20cdaa3d9b7414a3bb3793259faa
parentdf70b1c2e2e5ba5254f2070b1dd690896ee3c2a2
disk: part_efi: fix **pgpt_pte == NULL

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@nvidia.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
disk/part_efi.c