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