Markus Fröschle
|
0cf42dbbf9
|
cleaned up
|
2013-12-15 07:04:54 +00:00 |
|
Markus Fröschle
|
1ff69eafde
|
|
2013-12-13 11:42:25 +00:00 |
|
Markus Fröschle
|
4892ab1b87
|
moved debug printouts into ifdef'd area
|
2013-12-12 15:17:50 +00:00 |
|
Markus Fröschle
|
04d2dccfde
|
reduced debug printout to a minimum
|
2013-12-11 20:48:23 +00:00 |
|
Markus Fröschle
|
f0ac72b1d5
|
modified PCIBAR initialization loop
|
2013-12-11 10:45:01 +00:00 |
|
Markus Fröschle
|
524c94d465
|
fixed comments
|
2013-12-10 21:29:56 +00:00 |
|
Markus Fröschle
|
95dc6f0714
|
enabled USB hub debug
|
2013-12-10 20:53:26 +00:00 |
|
Markus Fröschle
|
7229b94ba3
|
first signs of life from the PCI/USB
|
2013-12-10 20:37:16 +00:00 |
|
Markus Fröschle
|
813460e5d0
|
put alignment requirements for chip_errata_135 in function attributes
|
2013-12-09 07:24:53 +00:00 |
|
Markus Fröschle
|
8c39320c54
|
fixed to run from flash and ram identically. Also fixed to run EmuTOS with BaS on the m5484lite
|
2013-12-07 21:16:36 +00:00 |
|
Markus Fröschle
|
001376c0c3
|
modified to suppress debug prints if not needed
|
2013-12-07 06:57:50 +00:00 |
|
Markus Fröschle
|
433c1f8d5e
|
added debug_printf() to enable suppresion of output with preprocessor statements
|
2013-11-22 10:07:38 +00:00 |
|
Markus Fröschle
|
6c8fe0760e
|
added wait() for FireBee USB again
|
2013-11-21 19:57:39 +00:00 |
|
Markus Fröschle
|
092b3189db
|
fixed comments
|
2013-11-15 07:55:23 +00:00 |
|
Markus Fröschle
|
0173d6260e
|
added chip_errata() to word and byte config space writes
|
2013-11-14 22:57:49 +00:00 |
|
Markus Fröschle
|
dda75086fd
|
fixex wrong parentheses in pci_write_config_longword()
|
2013-11-13 21:08:52 +00:00 |
|
Markus Fröschle
|
68b8d43510
|
XL bus master priorities were the wrong way round
|
2013-11-13 12:46:00 +00:00 |
|
Markus Fröschle
|
ad776f66af
|
updated with some PCI code lend from the Linux BSP for Coldfire boards
|
2013-11-13 11:34:35 +00:00 |
|
Markus Fröschle
|
7bd0a5f1a3
|
added programmed XLBUS arbiter master priorities
|
2013-11-12 09:50:17 +00:00 |
|
Markus Fröschle
|
bd4f85b07d
|
added more diagnostics
|
2013-11-11 21:14:37 +00:00 |
|
Markus Fröschle
|
b2677b5c8e
|
enable device after configuration
|
2013-11-11 17:08:40 +00:00 |
|
Markus Fröschle
|
44361ab1a1
|
still target aborts
|
2013-11-10 18:11:33 +00:00 |
|
Markus Fröschle
|
110367ad73
|
still nothing but target aborts
|
2013-11-10 06:45:26 +00:00 |
|
Markus Fröschle
|
a8502bc856
|
still hangs, unfortunately
|
2013-11-09 19:57:16 +00:00 |
|
Markus Fröschle
|
bc1cd70d8e
|
hang on USB hc reset
|
2013-11-09 18:09:01 +00:00 |
|
Markus Fröschle
|
4cb667facd
|
USB chip registers seem to be visible now
|
2013-11-09 17:35:49 +00:00 |
|
Markus Fröschle
|
5c9dc8c4d4
|
more consistant file name
|
2013-11-09 08:46:01 +00:00 |
|
Markus Fröschle
|
bdb9fc69a4
|
USB controller detected on FireBee - needs a long wait time for config access there...
|
2013-11-09 08:33:26 +00:00 |
|
Markus Fröschle
|
fff5cd371d
|
moved code around to try and determine why PCI memory mapping doesn't work as expected
|
2013-11-08 17:34:08 +00:00 |
|
Markus Fröschle
|
722b6213aa
|
added interrupt service routine for PCI errors. Fixed XLB macros (contained double undescores for _MBAR)
|
2013-11-08 13:59:39 +00:00 |
|
Markus Fröschle
|
f164da60fc
|
modified pci_device_config() to support byteswapped config access functions
|
2013-11-08 06:45:51 +00:00 |
|
Markus Fröschle
|
519f3a9d0f
|
cleanly finish configuration access cycle in pci_write_config_longword
|
2013-11-08 05:45:12 +00:00 |
|
Markus Fröschle
|
ad1dda1e42
|
cleanly finish PCI configuration access in pci_read_config_longword
|
2013-11-08 05:43:29 +00:00 |
|
Markus Fröschle
|
af32d5b6ee
|
fixed for little endian PCIBIOS routines. Fixed bus enumeration
|
2013-11-07 19:46:44 +00:00 |
|
Markus Fröschle
|
3f435ed80e
|
modified PCI access routines to closer follow pcibios standard
|
2013-11-07 11:31:10 +00:00 |
|
Markus Fröschle
|
245cbe3a08
|
(nearly) fixed pci_find_device()
|
2013-11-07 07:45:54 +00:00 |
|
Markus Fröschle
|
f1169f6d8f
|
fixed multi-function devices
|
2013-11-07 06:03:49 +00:00 |
|
Markus Fröschle
|
238678a359
|
cleaned up pci_find_device()
|
2013-11-07 06:00:30 +00:00 |
|
Markus Fröschle
|
f45336d214
|
removed unused code
|
2013-11-06 14:31:52 +00:00 |
|
Markus Fröschle
|
4022030db6
|
controlled PCI reset
|
2013-11-06 14:27:42 +00:00 |
|
Markus Fröschle
|
7ac1da5beb
|
rewritten device scan and corrected PCI address mapping
|
2013-11-06 13:21:32 +00:00 |
|
Markus Fröschle
|
02d182395d
|
cleaned up pci initialization and moved call behind FPGA initialization (pin assignments collide)
|
2013-11-06 06:09:36 +00:00 |
|
Markus Fröschle
|
993906cf9a
|
got rid of global statics
|
2013-11-05 21:29:30 +00:00 |
|
Markus Fröschle
|
bf1a8bef38
|
renamed "slot" to "device" for better wording
|
2013-11-05 20:52:20 +00:00 |
|
Markus Fröschle
|
eca01095b1
|
fixed handle handling and reduced wait time for config space access
|
2013-11-05 20:20:52 +00:00 |
|
Markus Fröschle
|
6d3680fbd2
|
increased latency timer. It seems some config space accesses time out. Let's see if this fixes anythint
|
2013-11-05 11:04:59 +00:00 |
|
Markus Fröschle
|
79e0dfb418
|
fixed bug in pci_scan that prevented the handles array to be filled correctly
|
2013-11-05 09:22:21 +00:00 |
|
Markus Fröschle
|
d1210fa0fd
|
polished PCI controller initialization
|
2013-11-05 06:17:30 +00:00 |
|
Markus Fröschle
|
89dd4ab845
|
initialize static arrays to 0
|
2013-11-05 05:57:59 +00:00 |
|
Markus Fröschle
|
d6210afa3a
|
renamed struct pci_resource_descriptor to struct pci_rd
|
2013-11-05 05:56:19 +00:00 |
|