u-boot-brain/cmd
Kunihiko Hayashi 4ebeb4c559 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>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-08-26 11:46:28 -04:00
..
arm
mvebu env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
riscv
ti
x86 x86: Add a common HOB library 2019-08-09 22:24:02 +08:00
.gitignore
ab_select.c
adc.c
aes.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
armflash.c
avb.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
axi.c
bcb.c
bdinfo.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
bedbug.c
bind.c
binop.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
blk_common.c
blkcache.c
blob.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
bmp.c common: Move gzip functions into a new gzip header 2019-08-11 16:43:41 -04:00
boot.c
bootcount.c
bootefi.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
booti.c
bootm.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
bootmenu.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
bootstage.c
bootz.c
btrfs.c
cache.c Add validation for icache/dcache arguments - arguments different from off/on/flush are currently silently ignored. 2019-07-29 09:32:13 -04:00
cbfs.c cbfs: Move result variable into the struct 2019-08-18 21:54:10 +08:00
clk.c clk: support clk tree dump 2019-08-22 00:10:09 +02:00
cls.c
config.c common: Move gzip functions into a new gzip header 2019-08-11 16:43:41 -04:00
conitrace.c
console.c
cpu.c
cramfs.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
cros_ec.c
dataflash_mmc_mux.c
date.c
demo.c
dfu.c
diag.c
disk.c
dm.c
dtimg.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
echo.c
eeprom.c
efi.c
efidebug.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
elf.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
ethsw.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
exit.c
ext2.c
ext4.c
fastboot.c
fat.c
fdc.c
fdt.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
fitupd.c
flash.c
fpga.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
fpgad.c
fs_uuid.c
fs.c
fuse.c
gettime.c
gpio.c cmd: gpio: remove redundant assignment 2019-08-26 11:46:27 -04:00
gpt.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
hash.c
help.c Drop linker-generated array creation when CONFIG_CMDLINE is disabled 2019-07-29 09:32:09 -04:00
host.c
i2c.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
ide.c Drop PCMCIA 2019-08-11 19:27:41 -04:00
ini.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
io.c
iotrace.c
irq.c
itest.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
jffs2.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
Kconfig Convert CONFIG_MX_CYCLIC to Kconfig 2019-08-23 16:45:40 -04:00
led.c
legacy_led.c
license.c common: Move gzip functions into a new gzip header 2019-08-11 16:43:41 -04:00
load.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
log.c
lzmadec.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
mac.c
Makefile Drop PCMCIA 2019-08-11 19:27:41 -04:00
md5sum.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
mdio.c
mem.c
mfsl.c
mii.c
misc.c
mmc.c
mp.c
mtd.c
mtdparts.c env: Move env_get_f() to env.h 2019-08-11 16:43:41 -04:00
nand.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
net.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
nvedit_efi.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
nvedit.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
nvme.c
onenand.c
osd.c
part.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
pci.c cmd: pci: Adjust display of digits for 64bit address and size 2019-08-26 11:46:28 -04:00
pinmux.c
pmic.c
pxe.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
qfw.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
read.c
reginfo.c
regulator.c
reiser.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
remoteproc.c cmd: remoteproc: Allow list command to print the probed devices 2019-07-26 21:49:24 -04:00
rockusb.c
sata.c
sb.c
scsi.c
setexpr.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
sf.c
sha1sum.c
smccc.c
sound.c
source.c env: Move env_get_yesno() to env.h 2019-08-11 16:43:41 -04:00
spi.c
spl.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
strings.c
terminal.c
test.c
thordown.c thor: fix crash after usb initialization failure 2019-08-08 11:35:02 +02:00
time.c
tpm_test.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
tpm-common.c env: Move env_set_ulong() to env.h 2019-08-11 16:43:41 -04:00
tpm-user-utils.h
tpm-v1.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
tpm-v2.c
trace.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
tsi148.c
ubi.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
ubifs.c
universe.c
unzip.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
usb_gadget_sdp.c
usb_mass_storage.c
usb.c
version.c
virtio.c
w1.c
wdt.c
wol.c
ximg.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
yaffs2.c
zfs.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00
zip.c env: Move env_set_hex() to env.h 2019-08-11 16:43:41 -04:00