soc/fsl/qbman: Add common routine for QBMan private allocations
authorRoy Pledge <roy.pledge@nxp.com>
Mon, 18 Sep 2017 20:39:36 +0000 (16:39 -0400)
committerLi Yang <leoyang.li@nxp.com>
Fri, 22 Sep 2017 18:33:07 +0000 (13:33 -0500)
commit42d0349784c74d8a1e92cfbec120b9a6868b0c25
tree5b7d042dbbc9f4aa817403922bcfa113abfe30d9
parentb4964680834708da00fd82e84d8cfc716bf829d1
soc/fsl/qbman: Add common routine for QBMan private allocations

The QBMan device uses several memory regions to manage frame
queues and buffers. Add a common routine for extracting and
initializing these reserved memory areas.

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>
drivers/soc/fsl/qbman/Makefile
drivers/soc/fsl/qbman/dpaa_sys.c [new file with mode: 0644]
drivers/soc/fsl/qbman/dpaa_sys.h