moved code around to try and determine why PCI memory mapping doesn't work as expected

This commit is contained in:
Markus Fröschle
2013-11-08 17:34:08 +00:00
parent 722b6213aa
commit fff5cd371d
2 changed files with 6 additions and 1 deletions

View File

@@ -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? */
}

View File

@@ -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