[U-Boot] [PATCH V3] part: show efi partition name when print out partition info
Wolfgang Denk
wd at denx.de
Thu Oct 6 20:42:57 CEST 2011
Dear Lei Wen,
In message <1315455079-13051-1-git-send-email-leiwen at marvell.com> you wrote:
> 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 at marvell.com>
> ---
> Changelog:
> V1: align the efi part name output to the left
> V2: correct patch description for this new alignment
> V3: Remove the magic number definition, and reuse the same
> number used by partition_name. Fix loop overflow issue.
>
> disk/part_efi.c | 24 ++++++++++++++++++++----
> disk/part_efi.h | 3 ++-
> 2 files changed, 22 insertions(+), 5 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
That said, there may be good reasons for what you did beyond obsequi-
ous sycophantic parody. Perhaps you might be so kind as to elucidate.
-- Tom Christiansen in <5ldjbm$jtk$1 at csnews.cs.colorado.edu>
More information about the U-Boot
mailing list