Commit 192868b0 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent bb8215f4
......@@ -164,13 +164,13 @@ init_fnc_t *init_sequence_r[] = {
#ifndef CONFIG_SYS_NO_FLASH
flash_init_r,
#endif
#ifdef CONFIG_SPI
init_func_spi;
#endif
env_relocate_r,
#ifdef CONFIG_PCI
pci_init_r,
#endif
#ifdef CONFIG_SPI
init_func_spi,
#endif
env_relocate_r,
stdio_init,
jumptable_init_r,
console_init_r,
......
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