Commit Graph

115 Commits

Author SHA1 Message Date
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
aacb8ee021 added more diagnostic printouts and fixed debug() routines to ease debugging 2013-11-07 20:29:30 +00:00
Markus Fröschle
dc206817d0 fixed swapw() 2013-11-07 19:49:56 +00:00
Markus Fröschle
0e8187afab fixed PCIxxx() macros for little endian PCIBIOS routines 2013-11-07 19:48:21 +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
e3f5acba6f fixed config space register offsets 2013-11-07 07:46:27 +00:00
Markus Fröschle
9cdd8cb1db fixed formatting 2013-11-06 13:18:28 +00:00
Markus Fröschle
bf1a8bef38 renamed "slot" to "device" for better wording 2013-11-05 20:52:20 +00:00
Markus Fröschle
46e3b946cb defined EmuTOS flash address (was defined in linker script before) 2013-11-05 20:19:40 +00:00
Markus Fröschle
d6210afa3a renamed struct pci_resource_descriptor to struct pci_rd 2013-11-05 05:56:19 +00:00
Markus Fröschle
942f417b13 fixed resource descriptors 2013-11-05 05:47:11 +00:00
Markus Fröschle
70365f08e4 fixed a few bugs but still no go.
Seem to have problems with global variables?
2013-11-04 20:58:57 +00:00
Markus Fröschle
d14bfd1cf2 tried, but did not find the cause of access error during alignment of the TD buffers... 2013-11-04 20:09:32 +00:00
Markus Fröschle
76c4c0d7c0 2013-11-04 11:25:33 +00:00
Markus Fröschle
3b74e476b4 fixed comments 2013-11-03 19:34:11 +00:00
Markus Fröschle
a4f3058879 make resource descriptor structures packed 2013-11-03 14:49:08 +00:00
Markus Fröschle
e970a21573 needed for USB drivers 2013-11-03 14:15:34 +00:00
Markus Fröschle
09c762b143 implemented an (ugly) implementation for pci_get_resource(). USB init code still hangs. 2013-11-03 13:38:18 +00:00
Markus Fröschle
a7b6c9cffa code runs until ohci_lowlevel_init() but can't continue since pci_get_resource() is not implemented yet 2013-11-03 11:20:39 +00:00
Markus Fröschle
4ed171811f fixed more undefined symbols 2013-11-03 09:10:29 +00:00
Markus Fröschle
f2fb701890 fixed type mismatches (unsigned long <-> uint32_t) 2013-11-03 08:54:53 +00:00
Markus Fröschle
6b0dcee284 implemented more helper functions needed by usb 2013-11-03 08:19:19 +00:00
Markus Fröschle
8d550a07d7 code compiles - not tested yet 2013-11-03 07:07:43 +00:00
Markus Fröschle
3d77413237 added missing file 2013-11-03 03:59:23 +00:00
Markus Fröschle
77fa6f2732 modified to fit usb driver requirements 2013-11-03 03:40:22 +00:00
Markus Fröschle
47a7981f24 fixed a few compile errors (still some left) 2013-11-02 20:43:29 +00:00
Markus Fröschle
74c699e35a added usb sources from U-boot, does not compile currently 2013-11-02 20:18:18 +00:00
Markus Fröschle
03e691ad2b PCI memory configuration done, still experimental 2013-11-02 07:37:47 +00:00
Markus Fröschle
e27a45520f changed hardcoded, but SYSCLK dependend values to evaluate correctly for the different platforms 2013-11-01 11:23:52 +00:00
Markus Fröschle
573b370805 finished converting Makefile and directory structure to support other platforms 2013-11-01 09:20:05 +00:00
Markus Fröschle
faa07b02d1 proceed in porting to m5484l 2013-10-31 14:12:11 +00:00
Markus Fröschle
72ad187f89 added macros to decrypt configuration space headers 2013-10-31 05:22:07 +00:00
Markus Fröschle
a373d55795 first steps to make Makefile machine independent 2013-10-29 14:43:53 +00:00
Markus Fröschle
b467eb73c7 started m5484 LITEKIT port 2013-10-28 11:07:55 +00:00
Markus Fröschle
6b4431ed84 added byteswap macros lend from EmuTOS 2013-10-27 06:05:53 +00:00
Markus Fröschle
de83026135 added version and revision to drivers table 2013-10-24 20:59:57 +00:00
Markus Fröschle
cd02365300 proposed driver interface compiles 2013-10-24 15:17:42 +00:00
Markus Fröschle
c2d2947d22 modified generic driver interface to include the BaS XHDI driver.
added code ("stolen" from dBUG) to flash AMD chips
2013-10-24 08:42:44 +00:00
Markus Fröschle
28c0dd322a started implementation of a more generic EmuTOS driver interface 2013-10-24 06:55:23 +00:00
Markus Fröschle
cde104238b started implementation of a more generic EmuTOS driver interface 2013-10-24 06:31:23 +00:00
Markus Fröschle
399a3119d6 fixed GPL headers 2013-10-22 16:14:58 +00:00
Markus Fröschle
ea7c1790c9 added GNU header 2013-10-21 19:10:34 +00:00
Markus Fröschle
7775f24064 put version numbers alone into separate file so other tools can pick it up 2013-10-21 18:28:28 +00:00
Markus Fröschle
a5ba6ce563 swapped out pci initialization into separate source file (still needs some testing bevore removing the original) 2013-10-21 10:03:00 +00:00
Markus Fröschle
0bffba7fc0 prepared to move dspi functionality into a separate source file.
removed obsolete print statement
2013-10-16 13:35:32 +00:00
Markus Fröschle
c7ef84fcb6 SD card driver seems to be working stable now 2013-10-14 18:42:20 +00:00
Markus Fröschle
77807d038a improved timing a bit 2013-10-13 19:58:12 +00:00
Markus Fröschle
39c2006586 made SD card working on plain EmuTOS 2013-10-12 16:22:51 +00:00
Markus Fröschle
6342196e2b added start of pci implementation 2013-08-23 07:29:02 +00:00
Markus Fröschle
dd2cc0d3b9 modified to use library functions (memcpy(), bzero()) 2013-08-21 08:55:47 +00:00