mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 19:47:12 -04:00
ixp: move pci init in arm/board instead of cpu
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
8cb79b5f27
commit
f90c8022f4
@ -86,9 +86,6 @@ int cpu_init (void)
|
|||||||
FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ;
|
FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_PCI) || defined (CONFIG_PCI)
|
|
||||||
pci_init();
|
|
||||||
#endif
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -221,6 +221,15 @@ static int init_func_i2c (void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_CMD_PCI) || defined (CONFIG_PCI)
|
||||||
|
#include <pci.h>
|
||||||
|
static int arm_pci_init(void)
|
||||||
|
{
|
||||||
|
pci_init();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif /* CONFIG_CMD_PCI || CONFIG_PCI */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Breathe some life into the board...
|
* Breathe some life into the board...
|
||||||
*
|
*
|
||||||
@ -267,6 +276,9 @@ 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
|
||||||
display_dram_config,
|
display_dram_config,
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user