summaryrefslogtreecommitdiffstats
path: root/drivers/soc/fsl/qbman/bman.c
Commit message (Collapse)AuthorAgeFilesLines
* soc/fsl/qbman: different register offsets on ARMMadalin Bucur2017-09-221-0/+22
| | | | | | | Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com> Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
* soc/fsl/qbman: Rework portal mapping calls for ARM/PPCRoy Pledge2017-09-221-8/+10
| | | | | | | | | | | Rework portal mapping for PPC and ARM. The PPC devices require a cacheable coherent mapping while ARM will work with a non-cachable/write combine mapping. This also eliminates the need for manual cache flushes on ARM. This also fixes the code so sparse checking is clean. Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
* soc/fsl/qbman: Drop set/clear_bits usageMadalin Bucur2017-09-221-1/+1
| | | | | | | | | | | Replace PPC specific set/clear_bits API with standard bit twiddling so driver is portalable outside PPC. Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com> Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
* soc/qbman: Handle endianness of qm/bm_in/out()Claudiu Manoil2016-11-231-3/+3
| | | | | Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: Scott Wood <oss@buserror.net>
* soc/fsl: fix spelling mistakes in critical error messagesColin Ian King2016-11-221-1/+1
| | | | | | | | Trivial fix to spelling mistake "uncommited" to "uncommitted" in critical error messages. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Scott Wood <oss@buserror.net>
* soc/fsl: Introduce DPAA 1.x BMan device driverClaudiu Manoil2016-09-251-0/+797
This driver enables the Freescale DPAA 1.x Buffer Manager block. BMan is a hardware accelerator that manages buffer pools. It allows CPUs and other accelerators connected to the SoC datapath to acquire and release buffers during data processing. Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: Scott Wood <oss@buserror.net>
OpenPOWER on IntegriCloud