From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 7 Sep 2011 14:29:57 +0200 Subject: [U-Boot] [PATCH] part: show efi partition name when print out partition info In-Reply-To: References: <1315394223-12399-1-git-send-email-leiwen@marvell.com> <201109071327.47225.marek.vasut@gmail.com> Message-ID: <201109071429.57660.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, September 07, 2011 01:29:35 PM Lei Wen wrote: > Hi Marek, > > On Wed, Sep 7, 2011 at 7:27 PM, Marek Vasut wrote: > > On Wednesday, September 07, 2011 01:17:03 PM Lei Wen 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 > >> --- > > > > Hi Lei, > > > > what about aligning the Name to the left ? > > You mean like below? > Name Part Start LBA End LBA Like "ramdisk" "system" etc. starting at the same column > > Best regards, > Lei