On 06.11.2016 15:31, yehu...@marvell.com wrote: > From: Yehuda Yitschak <yehu...@marvell.com> > > Currently the PCI command only allows to see the BAR register > values but not the size and actual base address. > This little extension parses the BAR registers and displays > the base, size and type of each BAR. > > Signed-off-by: Yehuda Yitschak <yehu...@marvell.com>
I've tested this patch on a DM based PCI driver. And it looks good so far: => pci bar 0.0.0 ID Base Size Width Type ---------------------------------------------------------- 0 0x00000000f9000000 0x0000000000100000 32 MEM => pci bar 0.0.1 No such device => pci bar 1.0.0 ID Base Size Width Type ---------------------------------------------------------- 0 0x00000000f8000000 0x0000000000020000 32 MEM 1 0x00000000f8020000 0x0000000000020000 32 MEM 2 0x00000000ffffffe0 0x0000000000000020 32 I/O So: Tested-by: Stefan Roese <s...@denx.de> Thanks, Stefan _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot