Skip to content
Snippets Groups Projects
Commit 1ed63c54 authored by Michael Schwingen's avatar Michael Schwingen Committed by Albert ARIBAUD
Browse files

run arm_pci_init after relocation

parent 29161f47
Branches
No related tags found
No related merge requests found
...@@ -262,9 +262,6 @@ init_fnc_t *init_sequence[] = { ...@@ -262,9 +262,6 @@ init_fnc_t *init_sequence[] = {
init_func_i2c, init_func_i2c,
#endif #endif
dram_init, /* configure available RAM banks */ dram_init, /* configure available RAM banks */
#if defined(CONFIG_CMD_PCI) || defined (CONFIG_PCI)
arm_pci_init,
#endif
NULL, NULL,
}; };
...@@ -533,6 +530,9 @@ void board_init_r (gd_t *id, ulong dest_addr) ...@@ -533,6 +530,9 @@ void board_init_r (gd_t *id, ulong dest_addr)
/* initialize environment */ /* initialize environment */
env_relocate (); env_relocate ();
#if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
arm_pci_init();
#endif
#ifdef CONFIG_VFD #ifdef CONFIG_VFD
/* must do this after the framebuffer is allocated */ /* must do this after the framebuffer is allocated */
drv_vfd_init(); drv_vfd_init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment