qemu-intel64: move PCI initialization back to board logic
this partly revert 4123615621
which works OK for PCI serial and network cards
but breaks QEMU EDU due to usage of sem and usleep in IDLE thread context.
Another solution will be provided later.
Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
parent
beb2af8378
commit
7d95bec148
|
@ -115,12 +115,6 @@ void up_initialize(void)
|
|||
x86_64_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the PCI bus */
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
x86_64_pci_init();
|
||||
#endif
|
||||
|
||||
/* Initialize the network */
|
||||
|
||||
#ifndef CONFIG_NETDEV_LATEINIT
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
# include <nuttx/timers/oneshot.h>
|
||||
#endif
|
||||
|
||||
#include "x86_64_internal.h"
|
||||
#include "qemu_intel64.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -54,6 +55,12 @@ int qemu_bringup(void)
|
|||
|
||||
int ret = OK;
|
||||
|
||||
/* Initialize the PCI bus */
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
x86_64_pci_init();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FS_PROCFS
|
||||
/* Mount the procfs file system */
|
||||
|
||||
|
|
Loading…
Reference in New Issue