pci: Move PCI header output code into its own function
authorSimon Glass <sjg@chromium.org>
Fri, 27 Nov 2015 02:51:28 +0000 (19:51 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:26:37 +0000 (06:26 -0700)
commitc4f32bb24857b2a3950b4c804c1d6302520c81ae
tree260fb2097f4183f55db7a31ed9efb98d3c9da8d8
parent32ec5b344b651af15eb42add80c7480154fcd4e3
pci: Move PCI header output code into its own function

We want to share this code with the driver model version, so put it in a
separate function.

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