moved code around to try and determine why PCI memory mapping doesn't work as expected
This commit is contained in:
@@ -462,6 +462,11 @@ void init_xlbus_arbiter(void)
|
|||||||
/* device errata 26: Flexbus hang up in 4:1 clock ratio */
|
/* device errata 26: Flexbus hang up in 4:1 clock ratio */
|
||||||
MCF_PCI_PCIGSCR |= 0x80000000; /* disable pipeline */
|
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? */
|
/* FIXME: Firetos (boot2.S, l. 719) looks pretty strange at this place - is this a typo? */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1029,9 +1029,9 @@ void initialize_hardware(void)
|
|||||||
init_video_ddr();
|
init_video_ddr();
|
||||||
dvi_on();
|
dvi_on();
|
||||||
#endif /* MACHINE_FIREBEE */
|
#endif /* MACHINE_FIREBEE */
|
||||||
|
init_pci();
|
||||||
init_eport();
|
init_eport();
|
||||||
init_xlbus_arbiter();
|
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 */
|
/* moved the following line (temporarily) to BaS (after MMU init) to be able to catch adressing errors on USB init */
|
||||||
//init_usb();
|
//init_usb();
|
||||||
#if MACHINE_FIREBEE
|
#if MACHINE_FIREBEE
|
||||||
|
|||||||
Reference in New Issue
Block a user