aboutsummaryrefslogtreecommitdiff
path: root/board/gdsys
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 /board/gdsys
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 'board/gdsys')
-rw-r--r--board/gdsys/mpc8308/hrcon.c1
-rw-r--r--board/gdsys/mpc8308/strider.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/gdsys/mpc8308/hrcon.c b/board/gdsys/mpc8308/hrcon.c
index 60faa46..d111015 100644
--- a/board/gdsys/mpc8308/hrcon.c
+++ b/board/gdsys/mpc8308/hrcon.c
@@ -8,6 +8,7 @@
#include <env.h>
#include <hwconfig.h>
#include <i2c.h>
+#include <init.h>
#include <spi.h>
#include <linux/libfdt.h>
#include <fdt_support.h>
diff --git a/board/gdsys/mpc8308/strider.c b/board/gdsys/mpc8308/strider.c
index 886bc2b..9ba9e42 100644
--- a/board/gdsys/mpc8308/strider.c
+++ b/board/gdsys/mpc8308/strider.c
@@ -8,6 +8,7 @@
#include <env.h>
#include <hwconfig.h>
#include <i2c.h>
+#include <init.h>
#include <spi.h>
#include <linux/libfdt.h>
#include <fdt_support.h>