summaryrefslogtreecommitdiffstats
path: root/sys/arm/allwinner/timer.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace many pasted identical definitions of cpu_initclocks() with a commonian2014-02-261-6/+0
| | | | | | | | implementation in arm/machdep.c. Most arm platforms either don't need to do anything, or just need to call the standard eventtimer init routines. A generic implementation that does that is now provided via weak linkage. Any platform that needs to do something different can provide a its own implementation to override the generic one.
* Remove #include <machine/frame.h> from all the arm code that doesn'tian2013-10-271-1/+0
| | | | | | really need it. That would be almost everywhere it was included. Add it in a couple files that really do need it and were previously getting it by accident via another header.
* Bring initial support for Allwinner A20 SoC (Cubieboard2).ganbold2013-08-071-2/+16
| | | | | | | | | | | Add support for A20 timer. Correct interrupt offset depending from chip. Add basic code for CPU configuration module. For now, add kernel config and dts file (only FDT blob related problem needs to be solved later in order to have one kernel for both cubieboard1 and 2). Approved by: ray@
* MFcalloutng:mav2013-02-281-22/+13
| | | | | | | Switch eventtimers(9) from using struct bintime to sbintime_t. Even before this not a single driver really supported full dynamic range of struct bintime even in theory, not speaking about practical inexpediency. This change legitimates the status quo and cleans up the code.
* Fix method of naming compatible string to followganbold2013-01-251-1/+1
| | | | | | | | "<manufacturer>,<model>" as described in http://www.devicetree.org/Device_Tree_Usage Reviewed by: andrew@ Approved by: gonzo@
* Fix timer to support oneshot and periodic modeganbold2013-01-241-75/+113
| | | | | | | Use 64 bit high and low counter for timecounter and delay Reviewed by: mav@, ian@ Approved by: gonzo@
* Fix formatting of license according to share/examples/etc/bsd-style-copyrightganbold2013-01-151-1/+1
| | | | Reviewed by: joel
* Fix license to follow standard license templateganbold2013-01-151-5/+5
| | | | Reviewed by: joel
* Initial support for Allwinner A10 SoC (Cubieboard)ganbold2013-01-151-0/+341
Add simple console driver Add interrupt handling and timer codes Add kernel config file Add dts file Approved by: gonzo
OpenPOWER on IntegriCloud