diff --git a/sources/pci.c b/sources/pci.c index 6fc13f9..3e26b13 100644 --- a/sources/pci.c +++ b/sources/pci.c @@ -462,6 +462,11 @@ void init_xlbus_arbiter(void) /* device errata 26: Flexbus hang up in 4:1 clock ratio */ MCF_PCI_PCIGSCR |= 0x80000000; /* disable pipeline */ } + + xprintf("PCIGSCR = %08x\r\n"); + MCF_PCI_PCIGSCR |= 0x60000000; /* clear PERR and SERR in global status/command register */ + xprintf("PCIGSCR = %08x\r\n"); + /* FIXME: Firetos (boot2.S, l. 719) looks pretty strange at this place - is this a typo? */ } diff --git a/sources/sysinit.c b/sources/sysinit.c index b557c7d..d19de46 100644 --- a/sources/sysinit.c +++ b/sources/sysinit.c @@ -1029,9 +1029,9 @@ void initialize_hardware(void) init_video_ddr(); dvi_on(); #endif /* MACHINE_FIREBEE */ + init_pci(); init_eport(); init_xlbus_arbiter(); - init_pci(); /* moved the following line (temporarily) to BaS (after MMU init) to be able to catch adressing errors on USB init */ //init_usb(); #if MACHINE_FIREBEE