Commit 1ed63c54 authored by Michael Schwingen's avatar Michael Schwingen Committed by Albert ARIBAUD

run arm_pci_init after relocation

Signed-off-by: default avatarMichael Schwingen <michael@schwingen.org>
parent 29161f47
...@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment