]> git.ipfire.org Git - people/ms/u-boot.git/commit
cmd: pci: add option to parse and display BAR information
authorYehuda Yitschak <yehuday@marvell.com>
Thu, 1 Dec 2016 15:14:18 +0000 (17:14 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 9 Dec 2016 13:40:18 +0000 (08:40 -0500)
commite5f96a872b7da006b55d1fcdfd602b15a3056497
tree0b9bfa2053b9ae991803f3b73fa9649e2ee6444b
parentf831b8e4a4f2992f3aa6d59fb91000c605a57ea7
cmd: pci: add option to parse and display BAR information

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 <yehuday@marvell.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/pci.c