part: show efi partition name when print out partition info
authorLei Wen <leiwen@marvell.com>
Wed, 7 Sep 2011 18:11:19 +0000 (18:11 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 6 Oct 2011 18:42:47 +0000 (20:42 +0200)
commit6eecc0307927fee1ff70151980b3a8c02ffeb947
tree993d7a66609a4efe874c0acec18cae749a39f97d
parent9f8765805400db65b44c3edb68a638f17dd8399d
part: show efi partition name when print out partition info

Previous output:
Marvell>>  mmc part

Partition Map for MMC device 1  --   Partition Type: EFI

Part  Start LBA  End LBA
gpt1  0x8C00    0xCBFF
gpt2  0xCC00    0x57BFF
gpt3  0x57C00    0xA2BFF
gpt4  0xA2C00    0xECBFDE

With the patch, the output becomes:
Marvell>> mmc part

Partition Map for MMC device 1  --   Partition Type: EFI

Part    Name                    Start LBA       End LBA
  1     ramdisk                 0x00008C00      0x0000CBFF
  2     system                  0x0000CC00      0x00057BFF
  3     userdata                0x00057C00      0x000A2BFF
  4     remaining               0x000A2C00      0x00ECBFDE

Signed-off-by: Lei Wen <leiwen@marvell.com>
disk/part_efi.c
disk/part_efi.h