x86: Move PCI init before SPI init
It is possible that our PCI bus will provide the SPI controller, so change the init order to make this work. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
bb8215f437
commit
192868b061
@ -164,13 +164,13 @@ init_fnc_t *init_sequence_r[] = {
|
|||||||
#ifndef CONFIG_SYS_NO_FLASH
|
#ifndef CONFIG_SYS_NO_FLASH
|
||||||
flash_init_r,
|
flash_init_r,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_SPI
|
|
||||||
init_func_spi;
|
|
||||||
#endif
|
|
||||||
env_relocate_r,
|
|
||||||
#ifdef CONFIG_PCI
|
#ifdef CONFIG_PCI
|
||||||
pci_init_r,
|
pci_init_r,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_SPI
|
||||||
|
init_func_spi,
|
||||||
|
#endif
|
||||||
|
env_relocate_r,
|
||||||
stdio_init,
|
stdio_init,
|
||||||
jumptable_init_r,
|
jumptable_init_r,
|
||||||
console_init_r,
|
console_init_r,
|
||||||
|
Loading…
Reference in New Issue
Block a user