diff options
| author | Simon Glass <[email protected]> | 2019-11-14 12:57:47 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-12-02 18:25:25 -0500 |
| commit | 2cf431c228776d9899dfb980086b86d4dd3b2473 (patch) | |
| tree | 04802b4219abf36de771b8006d471afe541670f7 /include | |
| parent | 5255932f0167c502fc7fce527bfe7e81df3322f9 (diff) | |
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/common.h | 2 | ||||
| -rw-r--r-- | include/init.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h index 3001296ff21..a292d919390 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 e506cd30dd1..3b45e631fca 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([email protected]): Drop this when DM_PCI migration is completed */ +void pci_init_board(void); + #endif /* __ASSEMBLY__ */ /* Put only stuff here that the assembler can digest */ |
