]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Use a separate variable for the bus number
authorSimon Glass <sjg@chromium.org>
Fri, 27 Nov 2015 02:51:19 +0000 (19:51 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:26:37 +0000 (06:26 -0700)
commitca7de76d8c5a12e178593770e0d2272cca2596bb
treed4e48a15bde26c4fde591d6b740432b67317f172
parentbfa4191e0343e2f9c0001d27295721f6f3e9b7dd
pci: Use a separate variable for the bus number

At present in do_pci(), bdf can either mean a bus number or a PCI bus number.
Use separate variables instead to reduce confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/cmd_pci.c