diff --git a/BaS_gcc/sources/pci.c b/BaS_gcc/sources/pci.c index ccf87dd..c7f4d87 100644 --- a/BaS_gcc/sources/pci.c +++ b/BaS_gcc/sources/pci.c @@ -168,6 +168,7 @@ uint32_t pci_read_config_longword(int32_t handle, int offset) __asm__ __volatile__("nop"); /* this is what the Linux BSP does */ + pci_config_wait(); value = * (volatile uint32_t *) PCI_IO_OFFSET; /* access device */ __asm__ __volatile__("tpf"); /* this is what the Linux BSP does */