summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/fdt_pinctrl.c
Commit message (Collapse)AuthorAgeFilesLines
* Add OF_prop_free function as a counterpart for OF_*prop_allocgonzo2016-05-111-3/+3
| | | | | | | | | | | | | | | | - Introduce new OF API function OF_prop_free to free memory allocated by OF_getprop_alloc and OF_getencprop_alloc. Current code just calls free(9) with M_OFWPROP memory class which assumes knowledge about OF_*prop_alloc functions' internals and leads to unneccessary code coupling - Convert some of the free(..., M_OFWPROP) instances to OF_prop_free Files affected by this commit are the ones I was able to test on real hardware. The rest of free(..., M_OFWPROP) instances will be handled with idividual maintainers Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D6315
* Use OF_getencpropalloc() to handle endianess of the properties.ian2015-04-101-3/+3
| | | | Submitted by: Michal Meloun
* Remove an #ifdef DEBUG wrapper, and instead use if (bootverbose).ian2014-11-121-6/+5
|
* Create an interface and support routines for drivers that handle IO pinian2014-09-131-0/+151
multiplexing and configuration based on FDT data. Reviewed by: imp
OpenPOWER on IntegriCloud