aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:47 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:25:25 -0500
commit2cf431c228776d9899dfb980086b86d4dd3b2473 (patch)
tree04802b4219abf36de771b8006d471afe541670f7 /drivers/pci
parent5255932f0167c502fc7fce527bfe7e81df3322f9 (diff)
downloadu-boot-2cf431c228776d9899dfb980086b86d4dd3b2473.zip
u-boot-2cf431c228776d9899dfb980086b86d4dd3b2473.tar.gz
u-boot-2cf431c228776d9899dfb980086b86d4dd3b2473.tar.bz2
common: Move pci_init_board() out of common.h
This function can be dropped when all boards use driver model for PCI. For now, move it into init.h with a comment. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.c1
-rw-r--r--drivers/pci/pcie_imx.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 5db24f1..e8285bf 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -15,6 +15,7 @@
*/
#include <common.h>
+#include <init.h>
#include <command.h>
#include <env.h>
diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c
index 10b8fb4..d53d629 100644
--- a/drivers/pci/pcie_imx.c
+++ b/drivers/pci/pcie_imx.c
@@ -10,6 +10,7 @@
*/
#include <common.h>
+#include <init.h>
#include <pci.h>
#include <asm/arch/clock.h>
#include <asm/arch/iomux.h>