From: Tom Rini Date: Mon, 26 Aug 2019 20:18:58 -0400 Subject: [U-Boot] [PATCH] cmd: pci: Adjust display of digits for 64bit address and size In-Reply-To: <1566525415-15487-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1566525415-15487-1-git-send-email-hayashi.kunihiko@socionext.com> Message-ID: <20190827001858.GM26850@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Aug 23, 2019 at 10:56:55AM +0900, Kunihiko Hayashi wrote: > The command "pci bar" and "pci region" display the address and size in > 16 characters including "0x", so the command can only display > 14 hexadecimal digits if the number of digits in the address and size is > less than 14. > > ID Base Size Width Type > ---------------------------------------------------------- > 0 0x00000020000000 0x00000000100000 64 MEM Prefetchable > 1 0xffff000080000000 0x00000000100000 64 MEM Prefetchable > > The 64-bit address and size should be displayed in 18(= 16+2) digits, > so this patch adjusts them. > > Cc: Yehuda Yitschak > Cc: Simon Glass > Signed-off-by: Kunihiko Hayashi > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: