Commit Graph

279 Commits

Author SHA1 Message Date
Markus Fröschle
3277b64bed added include file for ACIA registers 2013-12-11 05:58:19 +00:00
Markus Fröschle
c4a2a5f912 added IKBD queue code 2013-12-11 05:11:06 +00:00
Markus Fröschle
c6cebc5e97 rearranged memory init. 2013-12-09 07:11:19 +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
045d76f917 gcc inline assembly tends to use output registers as input if not explicitely told to avoid is: "=&" as constraint to the output register avoids that. 2013-11-22 10:03:10 +00:00
Markus Fröschle
37008b682a modified register constraints 2013-11-21 20:02:03 +00:00
Markus Fröschle
67ed9b04c5 removed __interrupt__ attribute from mmutr_miss() 2013-11-21 19:59:26 +00:00
Markus Fröschle
768a9ac216 modified set_ipl() register constraints (code was overwriting input operand) 2013-11-21 19:45:09 +00:00
Markus Fröschle
a18b1d1d9a new inline asm version of set_ipl() (was asm_set_ipl()) 2013-11-20 06:54:48 +00:00
Markus Fröschle
08756da558 as mmu.c has been rewritten (from mmu.S) in C, we need an additional include file 2013-11-19 11:38:29 +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
bd4f85b07d added more diagnostics 2013-11-11 21:14:37 +00:00
Markus Fröschle
a1e9e74c64 fixed warnings 2013-11-11 10:16:36 +00:00
Markus Fröschle
44361ab1a1 still target aborts 2013-11-10 18:11:33 +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
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