summaryrefslogtreecommitdiffstats
path: root/sys/arm/versatile/sp804.c
Commit message (Collapse)AuthorAgeFilesLines
* Partial merge of the SPDX changeseadler2018-03-141-1/+3
| | | | | | | These changes are incomplete but are making it difficult to determine what other changes can/should be merged. No objections from: pfg
* MFC r308640:ian2017-03-011-3/+2
| | | | | Use the correct OF_getencprop over OF_getprop + fdt32_to_cpu to read integer data from the device tree.
* Use simple fixed name strings for these timecounters and eventimers whichian2015-08-141-4/+2
| | | | are tied to fixed pieces of hardware; dynamic string formatting isn't needed.
* Stop using machine/fdt.h in the arm kernel code when we don't need it.andrew2015-04-041-1/+0
|
* Follow r261352 by updating all drivers which are children of simplebusian2014-02-021-0/+3
| | | | | | | | | | | | | to check the status property in their probe routines. Simplebus used to only instantiate its children whose status="okay" but that was improper behavior, fixed in r261352. Now that it doesn't check anymore and probes all its children; the children all have to do the check because really only the children know how to properly interpret their status property strings. Right now all existing drivers only understand "okay" versus something- that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
* Fix race condition in DELAY for SP804 timer.zbb2014-01-011-6/+21
| | | | | | | | | | Fix race condition in DELAY function: sc->tc was not initialized yet when time_counter pointer was set, what resulted in NULL pointer dereference. Export sysfreq to dts. Submitted by: Wojciech Macek <wma@semihalf.com> Obtained from: Semihalf
* 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.
* MFcalloutng:mav2013-02-281-13/+6
| | | | | | | 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.
* Add support for QEMU's version of Versatile Platform Boardgonzo2012-12-131-0/+352
OpenPOWER on IntegriCloud