Home
last modified time | relevance | path

Searched hist:"002 ab4c69ee0f343dcc037320fc8125bec9969e1" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/cmd/
H A Dpci.c002ab4c69ee0f343dcc037320fc8125bec9969e1 Fri Aug 23 01:56:55 UTC 2019 Kunihiko Hayashi <hayashi.kunihiko@socionext.com> UPSTREAM: cmd: pci: Adjust display of digits for 64bit address and size

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 <yehuday@marvell.com>
Cc: Simon Glass <sjg@chromium.org>
Change-Id: I4570cb07a4acc8501c9282c58d3717796cb7fb7b
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 4ebeb4c559f3604169a54f3a318bdabcc6047320)