summaryrefslogtreecommitdiffstats
path: root/include/bitfield.h
Commit message (Collapse)AuthorAgeFilesLines
* include/bitfield: Add new bitfield operationsCodrin Ciubotariu2015-09-211-0/+32
| | | | | | | | | | These new operations allow manipulation of bitfields within a word by using a mask instead of width and shift values to extract/replace the bitfields. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: York Sun <yorksun@freescale.com>
* include/bitfield.h: Assure new bitfield value doesn't touch unwanted bitsCodrin Ciubotariu2015-08-121-1/+1
| | | | | | | The new bitfield value must not be higher than its mask. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
* arch: bcm281xx: Initial commit of bcm281xx architecture codeDarwin Rambo2014-02-221-0/+58
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo <drambo@broadcom.com> Reviewed-by: Steve Rae <srae@broadcom.com> Reviewed-by: Tim Kryger <tkryger@linaro.org>
OpenPOWER on IntegriCloud