aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/common.h2
-rw-r--r--include/init.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 3001296..a292d91 100644
--- a/include/common.h
+++ b/include/common.h
@@ -102,8 +102,6 @@ int do_fat_fsload(cmd_tbl_t *, int, int, char * const []);
/* common/cmd_ext2.c */
int do_ext2load(cmd_tbl_t *, int, int, char * const []);
-void pci_init_board(void);
-
/* common/exports.c */
void jumptable_init(void);
diff --git a/include/init.h b/include/init.h
index e506cd30..3b45e63 100644
--- a/include/init.h
+++ b/include/init.h
@@ -205,6 +205,9 @@ int board_late_init(void);
int board_postclk_init(void); /* after clocks/timebase, before env/serial */
int board_early_init_r(void);
+/* TODO(sjg@chromium.org): Drop this when DM_PCI migration is completed */
+void pci_init_board(void);
+
#endif /* __ASSEMBLY__ */
/* Put only stuff here that the assembler can digest */